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::OnIconEraseBkgnd
◄CWnd►                                        ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnIconEraseBkgnd( CDC*  pDC  );
 
  Parameter   Description
 
  <pDC>       Specifies the device-context object of the icon. May be
              temporary, and should not be stored for later use.
 
  Remarks
 
  Called for a minimized (iconic) CWnd when the background of the icon
  must be filled before painting the icon. CWnd receives this call only if
  a class icon is defined for the window; otherwise, the ◄WM_ERASEBKGND►
  message is sent instead.
 
  The DefWindowProc member function fills the icon background with the
  background brush of the parent window.
 
  This message-handler member function calls the ◄Default► member
  function. Override this member function in your derived class to handle
  the ◄WM_ICONERASEBKGND► message.
 
  See Also
 
  ◄CWnd::Default►, ◄WM_ERASEBKGND►, ◄WM_ICONERASEBKGND►
 
 
                                     -♦-