<< Return to Main Index

< Return to Class Index

CGXProperties::OnPrintHeaderAndFooter

void OnPrintHeaderAndFooter(CDC* pDC, CPrintInfo* pInfo, CDocument* pDoc = NULL, CGXGridParam* pParam = NULL);

pDC

Points to the printer device context.

pInfo

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

pDoc

A pointer to the document object.

pParam

A pointer to the parameter object.

Remarks

Called to print the header and footer for a grid view.

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

CGXProperties::GetDataHeader CGXProperties::GetDataFooter CGXProperties::AddToken CGXProperties::SubstTokenText

CGXProperties

Class Overview | Class Members