WM_SYSCOLORCHANGE

This message specifies a change in one or more system colors. Windows sends the message to all top-level windows when a change is made in the system color setting.

Parameter Description  

wParam Is not used.  
lParam Is not used.  

Default Action

Windows sends a WM_PAINT message to any window that is affected by a system color change.

Comments

Applications that have brushes that use the existing system colors should delete those brushes and re-create them by using the new system colors.