Function Reference


Retrieves the location of the theme property definition for a property

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


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

Return Value

Success: The value that indicates where the property was found. It can be one of the following values.
0 - Property was found in the state section.
1 - Property was found in the part section.
2 - Property was found in the class section.
3 - Property was found in the list of global variables.
4 - Property was not found.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search GetThemePropertyOrigin in MSDN Library.