BCGSuite for MFC
virtual BOOL CBCGPGridCtrl::OnBreakColumnAcrossPrintPages ( int  nColumn)
virtual

Called when the printing logic decides whether to break a column across print pages if it doesn't fit, or start it from a new page.

Returns
This method should return FALSE, if a column should start from the new page; it should return TRUE to break a column across print pages.

Override this method in a derived class to customize pagination behavior. If a column doesn't fit the full page width, the column will be always broken across print pages and the return value will be ignored.

Parameters
nColumnA zero-based index of a grid column.