函数参考


_WinAPI_GetWindowRgnBox

Retrieves the dimensions of the tightest bounding rectangle for the window region of a window.

#Include <WinAPIEx.au3>
_WinAPI_GetWindowRgnBox ( $hWnd, ByRef $tRECT )

参数

$hWnd Handle to the window.
$tRECT $tagRECT structure that is created by this function, and contains the rectangle dimensions, in device
units relative to the upper-left corner of the window.

返回值

Success The value that specifies the region's complexityit can be one of the following values.
$COMPLEXREGION
$NULLREGION
$SIMPLEREGION
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

None

相关

详情参考

在MSDN中搜索