Delen via


CView::OnEndPrinting

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

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

Parameters

  • pDC
    Points to the printer device context.

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

Remarks

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

See Also

Reference

CView Class

Hierarchy Chart

CView::OnBeginPrinting