This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Retrieves the current color of the specified display element.
Display elements are the parts of a window and the display that appear on the system display screen.
Syntax
n = Win_GetSysColor(nIndex)
Returns
Number.
Parameters
Name |
Type |
Optional |
Meaning |
nIndex |
Number |
No |
The display element whose color is to be retrieved. This parameter can be one of the following values:
%COLOR_SCROLLBAR %COLOR_BACKGROUND %COLOR_ACTIVECAPTION %COLOR_INACTIVECAPTION %COLOR_MENU %COLOR_MSGBOX %COLOR_WINDOW %COLOR_WINDOWFRAME %COLOR_MENUTEXT %COLOR_MSGBOXTEXT %COLOR_WINDOWTEXT %COLOR_CAPTIONTEXT %COLOR_ACTIVEBORDER %COLOR_INACTIVEBORDER %COLOR_APPWORKSPACE %COLOR_HIGHLIGHT %COLOR_HIGHLIGHTTEXT %COLOR_BTNFACE %COLOR_BTNSHADOW %COLOR_GRAYTEXT %COLOR_BTNTEXT %COLOR_INACTIVECAPTIONTEXT %COLOR_BTNHIGHLIGHT %COLOR_3DDKSHADOW %COLOR_3DLIGHT %COLOR_INFOTEXT %COLOR_INFOBK %COLOR_HOTLIGHT %COLOR_GRADIENTACTIVECAPTION %COLOR_GRADIENTINACTIVECAPTION %COLOR_MENUHILIGHT %COLOR_MENUBAR %COLOR_DESKTOP %COLOR_3DFACE %COLOR_3DSHADOW
See following page for additional documentation: http://msdn.microsoft.com/en-us/library/ms724371(VS.85).aspx |
Remarks
Restrictions
See also
Examples