Table of contents
TOC
Collapse the table of content
Expand the table of content

System Color Constants

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

The following constants can be used anywhere in your code in place of the actual values:

ConstantValueDescription
vbScrollBars0x80000000Scroll bar color
vbDesktop0x80000001Desktop color
vbActiveTitleBar0x80000002Color of the title bar for the active window
vbInactiveTitleBar0x80000003Color of the title bar for the inactive window
vbMenuBar0x80000004Menu background color
vbWindowBackground0x80000005Window background color
vbWindowFrame0x80000006Window frame color
vbMenuText0x80000007Color of text on menus
vbWindowText0x80000008Color of text in windows
vbTitleBarText0x80000009Color of text in caption, size box, and scroll arrow
vbActiveBorder0x8000000ABorder color of active window
vbInactiveBorder0x8000000BBorder color of inactive window
vbApplicationWorkspace0x8000000CBackground color of multiple-document interface (MDI) applications
vbHighlight0x8000000DBackground color of items selected in a control
vbHighlightText0x8000000EText color of items selected in a control
vbButtonFace0x8000000FColor of shading on the face of command buttons
vbButtonShadow0x80000010Color of shading on the edge of command buttons
vbGrayText0x80000011Grayed (disabled) text
vbButtonText0x80000012Text color on push buttons
vbInactiveCaptionText0x80000013Color of text in an inactive caption
vb3DHighlight0x80000014Highlight color for 3-D display elements
vb3DDKShadow0x80000015Darkest shadow color for 3-D display elements
vb3DLight0x80000016Second lightest 3-D color after vb3DHighlight
vbInfoText0x80000017Color of text in ToolTips
vbInfoBackground0x80000018Background color of ToolTips
© 2017 Microsoft