Retrieves the value of a BOOL property from the SysMetrics section of theme data.
#Include <WinAPIEx.au3>
_WinAPI_GetThemeBool ( $hTheme, $iPartId, $iStateId, $iPropId )
$hTheme | Handle to a window's specified theme data. |
$iPartId | The part that contains the BOOL property. |
$iStateId | The state of the part. |
$iPropId | The property to retrieve. It can be one of the following values. $TMT_TRANSPARENT $TMT_AUTOSIZE $TMT_BORDERONLY $TMT_COMPOSITED $TMT_BGFILL $TMT_GLYPHTRANSPARENT $TMT_GLYPHONLY $TMT_ALWAYSSHOWSIZINGBAR $TMT_MIRRORIMAGE $TMT_UNIFORMSIZING $TMT_INTEGRALSIZING $TMT_SOURCEGROW $TMT_SOURCESHRINK $TMT_USERPICTURE |
Success | The retrieved property value. |
失败: | 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码. |
在MSDN中搜索