CView::OnDraw

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.

At a Glance

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

Syntax

virtual void OnDraw( CDC* pDC ) = 0;

See Also

CWnd::OnCreate, CWnd::OnDestroy, CWnd::PostNcDestroy