Function Reference


Retrieves the value of a RECT property

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


$hTheme Handle to a window's specified theme data.
$iPartID The part containing the RECT property.
$iStateID The state of the part.
$iPropID The property to retrieve ($TMT_*).

Return Value

Success: $tagRECT structure that contains a rectangle.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search GetThemeRect in MSDN Library.