BCGControlBar Pro for MFC
virtual void CBCGPGridCtrl::OnPrint ( CDC *  pDC,
CPrintInfo *  pInfo 
)
virtual

Called by the framework to print a certain page.

The default implementation does nothing.

Override this function to setup page margins by updating the pInfo->m_rectDraw rectangle.

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