msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_SYSCOLORCHANGE (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
WM_SYSCOLORCHANGE
 
The WM_SYSCOLORCHANGE message is sent to all child windows of the desktop
when a change is made to the system colors by the WinSetSysColors function.
When the WM_SYSCOLORCHANGE message is received, applications that depend on
the system colors can query the new color values using the
WinQuerySysColors function.
 
After the WM_SYSCOLORCHANGE messages are sent, all windows in the system are
invalidated so that they will be redrawn with the new system colors.
 
The default window procedure takes no action on this message.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
mp1        Specifies a reserved value. It must be NULL.
 
mp2        Specifies a reserved value. It must be NULL.
 
Return Value
 
The return value is NULL.
 
See Also
 
WinQuerySysColor, WinSetSysColors, WM_SYSVALUECHANGED