函数参考


_WinAPI_GetThemeBackgroundRegion

Computes the region for a regular or partially transparent background that is bounded by a specified rectangle.

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

参数

$hTheme Handle to a window's specified theme data.
$iPartId The part that contains the region.
$iStateId The state of the part.
$hDC Handle to the device context to draw into.
$tRECT $tagRECT structure that contains the specified rectangle used to compute the region.

返回值

Success Handle to the computed region.
失败: 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码.

注意/说明

The region handle that is returned by this function should be released when it is no longer needed,
using _WinAPI_DeleteObject().

相关

详情参考

在MSDN中搜索