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

Calculates the layout of the page.

Used to calculate the layout of the page specified in pInfo->m_nCurPage.

This function layouts the page, calculates position for all items fitted in the specified page, fills out the CBCGPGridPageInfo structure.

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