BCGControlBar Pro for MFC
int CBCGPGridPageInfo::m_nLastItem

Specifies index of the last row to print.