Retrieves a system color brush.
#Include <WinAPIEx.au3>
_WinAPI_GetThemeSysColorBrush ( $hTheme, $iColorId )
$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 |
Success | Handle to the brush. |
失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索