The Color_ResetSystemColor() function sets the specified system color category back to the default value, which is derived from the current operating system settings.
Color_ResetSystemColor(category)
• category – A long integer specifying the system color category to be reset. 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 |
|
A boolean indicating whether the system color category was reset. True indicates it was reset, while false indicates it was not.