Microsoft Foundation Classes (mfc.hlp) (Table of Contents; 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.
CWnd::OnSysColorChange
◄CWnd►                                        ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnSysColorChange();
 
  Remarks
 
  Called 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 by using the new system
  colors.
 
  This message-handler member function calls the ◄Default► member
  function. Override this member function in your derived class to handle
  the ◄WM_SYSCOLORCHANGE► message.
 
  See Also
 
  ◄::SetSysColors►, ◄WM_PAINT►, ◄CWnd::Default►, ◄WM_SYSCOLORCHANGE►
 
 
                                     -♦-