WM SYSCOLORCHANGE
This message is sent to all main windows when a change is made to the system colors by the WinSetSysColors function.
Syntax
param1 ULONG flOptions; /* Options. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- flOptions (ULONG) - input
- Options. Copied from the parameter of the WinSetSysColors function and therefore specifies which palette has been changed.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- ulReserved (ULONG) - returns
- Reserved value, should be 0.
Remarks
All windows are invalidated, so that they are redrawn with the new colors. When this message is received, applications that depend on the system colors can query the new color values with the WinQuerySysColor call.
Language Support Dialog
The Language Support Dialog Procedure responds to this message by issuing the WinDefDlgProc function, then posting a WM_PSYSCOLORCHANGE message to the application queue and setting ulReserved to the result of the WinDefDlgProc function.
Language Support Window
The Language Support Window Procedure responds to this message by posting a WM_PSYSCOLORCHANGE message to the application queue and setting ulReserved to 0.
Default Processing
The default window procedure takes no action on this message, other than to set ulReserved to 0.
Related Messages
- WM_SYSCOLORCHANGE (Language Support Dialog)
- WM_SYSCOLORCHANGE (Language Support Window)