CView::OnPreparePrinting

This method, in its default form, does nothing. You must override this method to enable printing and print preview.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

virtual BOOL OnPreparePrinting( CPrintInfo* pInfo );

See Also

CWnd::OnActivate, CFormView