A GUIDE TO SYSTEM COLOURS by Matthew Sephton Edit 1.02 Tektonix Software ----------------------------------------------------------------------------- These values can be used in the Backcolor (or similar) property to make the colour of the object rely on what the user has set up in Control Panel. Note: These are are provided for the programmer within VB5. VALUE (HEX) KEYWORD(S) DESCRIPTION &H80000000& vbScrollBars Scroll-bar gray area &H80000001& vbDesktop Desktop &H80000002& vbActiveTitleBar Active window caption &H80000003& vbInactiveTitleBar Inactive window caption &H80000004& vbMenuBar Menu background &H80000005& vbWindowBackground Window background &H80000006& vbWindowFrame Window frame &H80000007& vbMenuText Text in menus &H80000008& vbWindowText Text in windows &H80000009& vbTitleBarText Text in caption and gadgets &H8000000A& vbActiveBorder Active window border &H8000000B& vbInactiveBorder Inactive window border &H8000000C& vbApplicationWorkspace Background colour of MDI apps. &H8000000D& vbHighlight Selected item(s) in a control &H8000000E& vbHighlightText Text of item in a control &H8000000F& vb3DFace, vbButtonFace Face shading on push button &H80000010& vb3DShadow, vbButtonShadow Edge shading on push button &H80000011& vbGrayText Grayed (disabled) text &H80000012& vbButtonText Text on push buttons &H80000013& vbInactiveCaptionText Text on inactive window caption &H80000014& vb3DHighlight Lightest colour for 3D shading &H80000015& vb3DDKShadow Darkest shadow colour &H80000016& vb3DLight Normal colour for 3D shading &H80000017& vbInfoText, vbMsgBox Text in tool tip &H80000018& vbInfoBackground, vbMsgBoxText Tool tip colour