函数参考


_WinAPI_ScaleWindowExt

Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.

#Include <WinAPIEx.au3>
_WinAPI_ScaleWindowExt ( $hDC, $iXNum, $iXDenom, $iYNum, $iYDenom )

参数

$hDC Handle to the device context.
$iXNum The amount by which to multiply the current horizontal extent.
$iXDenom The amount by which to divide the current horizontal extent.
$iYNum The amount by which to divide the current vertical extent.
$iYDenom The amount by which to divide the current vertical extent.

返回值

成功: 返回 1.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

Call _WinAPI_GetExtended() to retrieve a $tagSIZE structure containing the previous window extents.

相关

详情参考

在MSDN中搜索