BCGSuite for MFC
virtual void CBCGPGridCtrl::OnBeginPrinting ( CDC *  pDC,
CPrintInfo *  pInfo 
)
virtual

Called by the framework when it's about to begin the print or print preview job.

Called by the framework at the beginning of the print or print preview job. Override this function to specify the printing range by filling out m_nFirstItem and m_nLastItem members of the CBCGPGridPageInfo structure.

Parameters
pDCPoints to the printer device context.
pInfoPoints to the CPrintInfo structure that describes the current print job.