BCGControlBar Pro for MFC
int CBCGPGridPageInfo::m_nLastColumnInPage

Stores a zero-based index of last column on grid page.