网站首页  词典首页

请输入您要查询的函数:

 

术语 scalewindowextex
释义 ScaleWindowExtEx
语法:
BOOL ScaleWindowExtEx(
__in HDC hdc,
__in int Xnum,
__in int Xdenom,
__in int Ynum,
__in int Ydenom,
__out LPSIZE lpSize
);
ScaleWindowExtEx功能
该ScaleWindowExtEx函数修改了设备使用由指定multiplicands和因子的比例范围内形成的窗口。
参数
hdc [in]
一个句柄,设备上下文。
Xnum [in]
其中的数额乘以目前的Level程度。
Xdenom [in]
其中的数额划分目前的Level程度。
Ynum [in]
其中的数额乘以目前的垂直程度。
Ydenom [in]
其中的数额划分目前的垂直程度。
lpSize [out]
一个规模结构,它接收前一个窗口程度的逻辑单位,指针。如果lpSize为NULL,这个参数是不使用。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
窗口程度的修改如下:
xNewWE =(xOldWE * Xnum)/ Xdenom
yNewWE =(yOldWE * Ynum)/ Ydenom
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
坐标空间和转换概述
坐标空间与变换函数
GetWindowExtEx
尺寸
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==ScaleWindowExtEx Function
The ScaleWindowExtEx function modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.
Syntax
BOOL ScaleWindowExtEx(
__in HDC hdc,
__in int Xnum,
__in int Xdenom,
__in int Ynum,
__in int Ydenom,
__out LPSIZE lpSize
);
Parameters
hdc [in]
A handle to the device context.
Xnum [in]
The amount by which to multiply the current horizontal extent.
Xdenom [in]
The amount by which to divide the current horizontal extent.
Ynum [in]
The amount by which to multiply the current vertical extent.
Ydenom [in]
The amount by which to divide the current vertical extent.
lpSize [out]
A pointer to a SIZE structure that receives the previous window extents, in logical units. If lpSize is NULL, this parameter is not used.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The window extents are modified as follows:

xNewWE = (xOldWE * Xnum) / Xdenom
yNewWE = (yOldWE * Ynum) / Ydenom
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Coordinate Spaces and Transformations Overview
Coordinate Space and Transformation Functions
GetWindowExtEx
SIZE
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162948(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:28:44