This member function is called by the framework when Windows or an application makes a request to repaint a portion of an application's window.
afx_msg void OnPaint( );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::BeginPaint, CWnd::EndPaint, CWnd::RedrawWindow, CPaintDC, CView::OnDraw