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::OnPaint
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnPaint();
 
  Remarks
 
  Called when Windows or an application makes a request to repaint a
  portion of the CWnd.
 
  The WM_PAINT message is sent to this member function when the
  UpdateWindow member function is called, or when the update region is
  not empty and there are no pending messages.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_PAINT message.
 
  See Also
 
  CWnd::UpdateWindow, CPaintDC, CWnd::Default, WM_PAINT
 
 
                                     -♦-