Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
afx_msgvoidOnSysColorChange();
Remarks
The framework calls this member function for all top-level windows when a change is made in the system color setting.
Windows calls OnSysColorChange for 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 with the new system colors.