Call this member function to prepare a CWnd object for painting, and fill a PAINTSTRUCT data structure with information about the painting.
CDC* BeginPaint( LPPAINTSTRUCT lpPaint );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::EndPaint, CWnd::Invalidate, CPaintDC