Interface IStdSystemColorConstantsModule
MS-VBAL 6.1.2.12 SystemColorConstants
[StdLibModule(null)]
public interface IStdSystemColorConstantsModule
Remarks
The colours the system draws its elements with, each a Long with its high bit set (&H80000000 and up, so negative), which is what tells a
system colour from a red-green-blue value: what colour it is, is the system's to say (MS-VBAL §6.1.2.12: "implementation-dependent").
vb3DFace and vb3DShadow are vbButtonFace and vbButtonShadow by other names.
👉 Each field is one of the module's Const members, declared as the value it is: StdLibSymbolReader reads
it as a Public Const of that value's type. A constant is reached by its own name (vbButtonFace), or qualified by the module or the library
(SystemColorConstants.vbButtonFace, VBA.vbButtonFace). Nothing implements this interface.
Fields
VB3DDKShadow
vb3DDKShadow: the darkest shadow colour of a 3D element, &H80000015.
public static readonly VBLongValue VB3DDKShadow
Field Value
VB3DFace
vb3DFace: the colour of the face of a 3D element, &H8000000F - vbButtonFace.
public static readonly VBLongValue VB3DFace
Field Value
VB3DHighlight
vb3DHighlight: the highlight colour of a 3D element, &H80000014.
public static readonly VBLongValue VB3DHighlight
Field Value
VB3DLight
vb3DLight: the second lightest colour of a 3D element, after vb3DHighlight, &H80000016.
public static readonly VBLongValue VB3DLight
Field Value
VB3DShadow
vb3DShadow: the shadow colour of a 3D element, &H80000010 - vbButtonShadow.
public static readonly VBLongValue VB3DShadow
Field Value
VBActiveBorder
vbActiveBorder: the colour of the border of the active window, &H8000000A.
public static readonly VBLongValue VBActiveBorder
Field Value
VBActiveTitleBar
vbActiveTitleBar: the colour of the title bar of the active window, &H80000002.
public static readonly VBLongValue VBActiveTitleBar
Field Value
VBApplicationWorkspace
vbApplicationWorkspace: the background colour of a multiple-document interface, &H8000000C.
public static readonly VBLongValue VBApplicationWorkspace
Field Value
VBButtonFace
vbButtonFace: the colour of the face of a command button, &H8000000F.
public static readonly VBLongValue VBButtonFace
Field Value
VBButtonShadow
vbButtonShadow: the colour of the edge of a command button, &H80000010.
public static readonly VBLongValue VBButtonShadow
Field Value
VBButtonText
vbButtonText: the colour of the text of a push button, &H80000012.
public static readonly VBLongValue VBButtonText
Field Value
VBDesktop
vbDesktop: the colour of the desktop, &H80000001.
public static readonly VBLongValue VBDesktop
Field Value
VBGrayText
vbGrayText: the colour of grayed (disabled) text, &H80000011.
public static readonly VBLongValue VBGrayText
Field Value
VBHighlight
vbHighlight: the background colour of what is selected in a control, &H8000000D.
public static readonly VBLongValue VBHighlight
Field Value
VBHighlightText
vbHighlightText: the colour of the text of what is selected in a control, &H8000000E.
public static readonly VBLongValue VBHighlightText
Field Value
VBInactiveBorder
vbInactiveBorder: the colour of the border of an inactive window, &H8000000B.
public static readonly VBLongValue VBInactiveBorder
Field Value
VBInactiveCaptionText
vbInactiveCaptionText: the colour of the text of the caption of an inactive window, &H80000013.
public static readonly VBLongValue VBInactiveCaptionText
Field Value
VBInactiveTitleBar
vbInactiveTitleBar: the colour of the title bar of an inactive window, &H80000003.
public static readonly VBLongValue VBInactiveTitleBar
Field Value
VBInfoBackground
vbInfoBackground: the background colour of a tooltip, &H80000018.
public static readonly VBLongValue VBInfoBackground
Field Value
VBInfoText
vbInfoText: the colour of the text of a tooltip, &H80000017.
public static readonly VBLongValue VBInfoText
Field Value
VBMenuBar
vbMenuBar: the background colour of a menu, &H80000004.
public static readonly VBLongValue VBMenuBar
Field Value
VBMenuText
vbMenuText: the colour of the text of a menu, &H80000007.
public static readonly VBLongValue VBMenuText
Field Value
VBScrollBars
vbScrollBars: the colour of a scroll bar, &H80000000.
public static readonly VBLongValue VBScrollBars
Field Value
VBTitleBarText
vbTitleBarText: the colour of the text of a caption, size box and scroll arrow, &H80000009.
public static readonly VBLongValue VBTitleBarText
Field Value
VBWindowBackground
vbWindowBackground: the background colour of a window, &H80000005.
public static readonly VBLongValue VBWindowBackground
Field Value
VBWindowFrame
vbWindowFrame: the colour of the frame of a window, &H80000006.
public static readonly VBLongValue VBWindowFrame
Field Value
VBWindowText
vbWindowText: the colour of the text of a window, &H80000008.
public static readonly VBLongValue VBWindowText