BCGSuite for MFC
virtual BOOL CBCGPGridCtrl::OnGetPageHeaderRect ( CDC *  pDC,
CPrintInfo *  pInfo,
CRect &  rect 
)
protectedvirtual

Called by the framework when it needs to calculate the bounding rectangle of the page header

Returns
Should return TRUE, when it's required to print a page header. Should return FALSE if there is no page header.

Called by the framework from CBCGPGridCtrl::OnPrintPageHeader when it needs to calculate the bounding rectangle of the page header.

Parameters
pDCPointer to a device context
pInfoStructure that describes the current print job.
rectThe bounding rectangle of page footer.