<< Return to Main Index

< Return to Class Index

CGXGridCore::OnGridEndPrinting

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

pDC

Points to the printer device context.

pInfo

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

Remarks

Called by the MFC framework at the end of a print or print preview job.

The default implementation of this function cleans up memory used while printing.

Control-Factory Specific ->

This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementPrinting method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.

If no concrete implementation is available this method performs no action. A warning will be displayed in the debug window.

END Control-Factory Specific

See Also

CGXGridCore::OnGridPrint CGXGridCore::OnGridBeginPrinting CGXGridCore::OnAdjustPrintRectangle CGXGridCore::OnPrintHeaderAndFooter

CGXGridCore

Class Overview | Class Members