This method is called by the framework to render an image of the document. The framework calls this method to perform screen display, printing, and print preview, and it passes a different device context in each case.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
virtual void OnDraw( CDC* pDC ) = 0;
CWnd::OnCreate, CWnd::OnDestroy, CWnd::PostNcDestroy