Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CWnd::OnSysColorChange

The framework calls this member function for all top-level windows when a change is made in the system color setting.

afx_msg void OnSysColorChange( );

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.

Header: afxwin.h

Community Additions

ADD
Show:
© 2015 Microsoft