Поделиться через


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.

Требования

Header: afxwin.h

См. также

Основные понятия

CView Class

CView Members

Hierarchy Chart

CView::OnBeginPrinting