Function Reference


_WinAPI_GetThemeBool

Retrieves the value of a BOOL property from the SysMetrics section of theme data

#include <WinAPITheme.au3>
_WinAPI_GetThemeBool ( $hTheme, $iPartID, $iStateID, $iPropID )

Parameters

$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

Return Value

Success: The retrieved property value.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search GetThemeBool in MSDN Library.