Freigeben über


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

Concepts

CView Class

CView Members

Hierarchy Chart

CView::OnBeginPrinting