Funktionreferenz


_WinAPI_GetThemeSysColorBrush


Retrieves a system color brush

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

Parameter

$hTheme Handle to the theme data.
$iColorID The value that specifies the number of the desired system color. It may be one of the following values.
$TMT_SCROLLBAR
$TMT_BACKGROUND
$TMT_ACTIVECAPTION
$TMT_INACTIVECAPTION
$TMT_WINDOW
$TMT_WINDOWFRAME
$TMT_MENUTEXT
$TMT_WINDOWTEXT
$TMT_CAPTIONTEXT
$TMT_ACTIVEBORDER
$TMT_INACTIVEBORDER
$TMT_APPWORKSPACE
$TMT_HIGHLIGHT
$TMT_HIGHLIGHTTEXT
$TMT_BTNFACE
$TMT_BTNSHADOW
$TMT_GRAYTEXT
$TMT_BTNTEXT
$TMT_INACTIVECAPTIONTEXT
$TMT_BTNHIGHLIGHT
$TMT_DKSHADOW3D
$TMT_LIGHT3D
$TMT_INFOTEXT
$TMT_INFOBK
$TMT_BUTTONALTERNATEFACE
$TMT_HOTTRACKING
$TMT_GRADIENTACTIVECAPTION
$TMT_GRADIENTINACTIVECAPTION
$TMT_MENUHILIGHT
$TMT_MENUBAR

Rückgabewert

Returns an Handle to the brush.

Bemerkungen

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

Siehe auch

Suche nach GetThemeSysColorBrush in der MSDN Bibliothek.