The Color_SetSystemColor() function sets a system color category to the specified color.
Color_SetSystemColor(category, color_value)
• category – A long integer specifying the system color category to be set. Use one of the following constants:
SYSTEM_ACTIVE_BORDER |
SYSTEM_SCROLLBARS |
SYSTEM_ACTIVE_TITLE_BAR |
SYSTEM_TOOLTIP |
SYSTEM_ACTIVE_TITLE_BAR_TEXT |
SYSTEM_TOOLTIP_TEXT |
SYSTEM_APPLICATION_WORKSPACE |
SYSTEM_WINDOW_BACKGROUND |
SYSTEM_BUTTON_DARK_SHADOW |
SYSTEM_WINDOW_FRAME |
SYSTEM_BUTTON_FACE |
SYSTEM_WINDOW_TEXT |
SYSTEM_BUTTON_HIGHLIGHT |
SYSTEM_STATUS_BAR |
SYSTEM_BUTTON_LIGHT_SHADOW |
SYSTEM_TOOLBAR |
SYSTEM_BUTTON_SHADOW |
SYSTEM_LIST_HEADER1 |
SYSTEM_BUTTON_TEXT |
SYSTEM_LIST_HEADER1_TEXT |
SYSTEM_DESKTOP |
SYSTEM_LIST_HEADER2 |
SYSTEM_DISABLED_TEXT |
SYSTEM_LIST_HEADER2_TEXT |
SYSTEM_HIGHLIGHT |
SYSTEM_LIST_LINE1 |
SYSTEM_HIGHLIGHT_TEXT |
SYSTEM_LIST_LINE1_TEXT |
SYSTEM_INACTIVE_BORDER |
SYSTEM_LIST_LINE2 |
SYSTEM_INACTIVE_TITLE_BAR |
SYSTEM_LIST_LINE2_TEXT |
SYSTEM_INACTIVE_TITLE_BAR_TEXT |
SYSTEM_FIELD_BORDER |
SYSTEM_MENU_BAR |
SYSTEM_BUTTON_BORDER |
SYSTEM_MENU_TEXT |
|
• color_value – A long integer containing the color value to use.
A boolean indicating whether the system color category was set. True indicates it was set, while false indicates it was not.
You can use the following constants when specifying solid colors:
Constant |
Constant |
---|---|
COLOR_BLACK |
COLOR_GREEN |
COLOR_WHITE |
COLOR_DARK_YELLOW |
COLOR_RED |
COLOR_VIOLET |
COLOR_BRIGHT_GREEN |
COLOR_DARK_RED |
COLOR_BLUE |
COLOR_DARK_BLUE |
COLOR_TURQUOISE |
COLOR_MEDIUM_GRAY |
COLOR_PINK |
COLOR_LIGHT_GRAY |
COLOR_YELLOW |
COLOR_LIGHT_YELLOW |
COLOR_TEAL |
|