This member function is called by the framework to render an image of the document. The framework calls this function to perform screen display, printing, and print preview, and it passes a different device context in each case.
virtual void OnDraw( CDC* pDC ) = 0;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CView Overview, CView Member Functions, View Classes, CWnd::OnCreate, CWnd::OnDestroy, CWnd::PostNcDestroy