Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CView::OnEndPrinting

 

Called by the framework after a document has been printed or previewed.


      virtual void OnEndPrinting(
   CDC* pDC,
   CPrintInfo* pInfo 
);

pDC

Points to the printer device context.

pInfo

Points to a CPrintInfo structure that describes the current print job.

The default implementation of this function does nothing. Override this function to free any GDI resources you allocated in the OnBeginPrinting member function.

Requirements

Header: afxwin.h

Show: