Function Reference


_WinAPI_GetThemeSysColor

Retrieves the value of a system color

#include <WinAPITheme.au3>
_WinAPI_GetThemeSysColor ( $hTheme, $iColorID )

Parameters

$hTheme Handle to the theme data.
$iColorID The value that specifies the color number. It may be one of the $COLOR_* constants.

Return Value

Returns the value of the specified system color.

Remarks

If the theme data handle is not 0, this function returns the color from the SysMetrics section of the current
visual style, otherwise, the function returns the color matching the global system color.

See Also

Search GetThemeSysColor in MSDN Library.