This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
System Color Constants
The following can be used anywhere in your code in place of the actual values:
Constant |
Value |
Description |
ScrollBars |
0x80000000 |
Scroll bar color |
Desktop |
0x80000001 |
Desktop color |
ActiveTitleBar |
0x80000002 |
Color of the title bar for the active window |
InactiveTitleBar |
0x80000003 |
Color of the title bar for the inactive window |
MenuBar |
0x80000004 |
Menu background color |
WindowBackground |
0x80000005 |
Window background color |
WindowFrame |
0x80000006 |
Window frame color |
MenuText |
0x80000007 |
Color of text on menus |
WindowText |
0x80000008 |
Color of text in windows |
TitleBarText |
0x80000009 |
Color of text in caption, size box, and scroll arrow |
ActiveBorder |
0x8000000A |
Border color of active window |
InactiveBorder |
0x8000000B |
Border color of inactive window |
ApplicationWorkspace |
0x8000000C |
Background color of multiple-document interface (MDI) applications |
Highlight |
0x8000000D |
Background color of items selected in a control |
HighlightText |
0x8000000E |
Text color of items selected in a control |
ButtonFace |
0x8000000F |
Color of shading on the face of command buttons |
ButtonShadow |
0x80000010 |
Color of shading on the edge of command buttons |
GrayText |
0x80000011 |
Grayed (disabled) text |
ButtonText |
0x80000012 |
Text color on push buttons |
InactiveCaptionText |
0x80000013 |
Color of text in an inactive caption |
3DHighlight |
0x80000014 |
Highlight color for 3-D display elements |
3DDKShadow |
0x80000015 |
Darkest shadow color for 3-D display elements |
3DLight |
0x80000016 |
Second lightest 3-D color after 3DHighlight |
InfoText |
0x80000017 |
Color of text in ToolTips |
InfoBackground |
0x80000018 |
Background color of ToolTips |
See Also