Color Constants
Color Constants
Colors
Constant
vbBlack
vbRed
vbGreen
vbYellow
vbBlue
vbMagenta
vbCyan
vbWhite
Value
&H0
&HFF
&HFF00
&HFFFF
&HFF0000
&HFF00FF
&HFFFF00
&HFFFFFF
Description
Black
Red
Green
Yellow
Blue
Magenta
Cyan
White
Constant
vbScrollBars
vbDesktop
vbActiveTitleBar
Value
&H80000000
&H80000001
&H80000002
vbInactiveTitleBar
&H80000003
vbMenuBar
vbWindowBackground
vbWindowFrame
vbMenuText
vbWindowText
vbTitleBarText
&H80000004
&H80000005
&H80000006
&H80000007
&H80000008
&H80000009
vbActiveBorder
&H8000000A
vbInactiveBorder
&H8000000B
vbApplicationWorkspace
&H8000000C
vbHighlight
&H8000000D
vbHighlightText
&H8000000E
vbButtonFace
&H8000000F
vbButtonShadow
&H80000010
vbGrayText
&H80000011
Description
Scroll bar color
Desktop color
Color of the title bar for the
active window
Color of the title bar for the
inactive window
Menu background color
Window background color
Window frame color
Color of text on menus
Color of text in windows
Color of text in caption,
size box, and scroll arrow
Border color of active
window
Border color of inactive
window
Background color of
multiple-document
interface (MDI) applications
Background color of items
selected in a control
Text color of items
selected in a control
Color of shading on the
face of command buttons
Color of shading on the
edge of command buttons
Grayed (disabled) text
System Colors
vbButtonText
vbInactiveCaptionText
&H80000012
&H80000013
vb3DHighlight
&H80000014
vb3DDKShadow
&H80000015
vb3DLight
&H80000016
vb3DFace
vb3Dshadow
vbInfoText
vbInfoBackground
&H8000000F
&H80000010
&H80000017
&H80000018