Application Developer Guide > Windows Color and Font Support > Predefined Colors for Windows Systems
  

Predefined Colors for Windows Systems
In addition to the colors listed in the rgb.txt file, you may use any of the predefined Windows system colors listed in Predefined Window System Colors as your widget colors.
 
Table F-1: Predefined Window System Colors  
Windows System Colors
Corresponding Widget Color
COLOR_3DDKSHADOW
Dark shadow for 3D display elements
COLOR_3DFACE,
COLOR_BTNFACE
Face color for 3D display elements
COLOR_3DHILIGHT,
COLOR_3DHIGHLIGHT,
COLOR_BTNHILIGHT,
COLOR_BTNHIGHLIGHT
Highlight color for 3D display elements (for edges facing the light source)
COLOR_3DLIGHT
Light color for 3D display elements (for edges facing the light source)
COLOR_3DSHADOW,
COLOR_BTNSHADOW
Shadow color for 3D display elements (for edges facing away from the light source)
COLOR_ACTIVEBORDER
Active window border
COLOR_ACTIVECAPTION
Active window caption
COLOR_APPWORKSPACE
Background color of multiple document interface (MDI) applications
COLOR_BACKGROUND,
COLOR_DESKTOP
Desktop
COLOR_BTNTEXT
Text on push buttons
COLOR_CAPTIONTEXT
Text in caption, size box, and scroll bar arrow box
COLOR_GRAYTEXT
Grayed (disabled) text; this color is set to 0 if the current display driver does not support a solid gray color.
COLOR_HIGHLIGHT
Items selected in a control
COLOR_HIGHLIGHTTEXT
Text of selected items in a control
COLOR_INACTIVEBORDER
Inactive window border
COLOR_INACTIVECAPTION
Inactive window caption
COLOR_INFOBK
Color of text in an inactive caption
COLOR_INFOTEXT
Text color for tool tip controls
COLOR_MENU
Menu background
COLOR_MENUTEXT
Text in menus
COLOR_SCROLLBAR
Scroll bar gray area
COLOR_WINDOW
Window background
COLOR_WINDOWFRAME
Window frame
COLOR_WINDOWTEXT
Text in windows
Specifying XtDefaultForeground or XtDefaultBackground causes the widget to use the appropriate Windows system colors.

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.