WM_SYSCOLORCHANGE

2.x

WM_SYSCOLORCHANGE

The WM_SYSCOLORCHANGE message is sent to all top-level windows when a change is made in the system color setting.

Parameters

This message has no parameters.

Return Value

An application should return zero if it processes this message.

Comments

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

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

See Also

SetSysColors, WM_PAINT