函数参考


_WinAPI_GetThemeBackgroundExtent

Calculates the size and location of the background, defined by the visual style, given the content area.

#Include <WinAPIEx.au3>
_WinAPI_GetThemeBackgroundExtent ( $hTheme, $iPartId, $iStateId, $hDC, $tRECT )

参数

$hTheme Handle to a window's specified theme data.
$iPartId The part that contains the content area.
$iStateId The state of the part.
$hDC Handle to the device context to use when drawing.
$tRECT $tagRECT structure that contains the content background rectangle.

返回值

Success $tagRECT structure that contains the background rectangle.
失败: 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码.

注意/说明

None

相关

详情参考

在MSDN中搜索