BCGSuite for MFC
virtual int CBCGPGridCtrl::OnAddGridPageRowForPrint ( CBCGPGridPage page,
CRect  rectPage 
)
virtual

Called when a grid control needs to place a row on a page, and extend a row on several pages when necessary.

Override this method in a derived class to customize the algorithm used to break rows that don't fit the page. By default, this method adds as many pages as it's required to fit all columns (by width in pixels).

Parameters
pageA pointer to a grid page object.
rectPagePage's bounding rectangle