BCGSuite for MFC
int CBCGPGridRange::m_nRight

Specifies the rightmost column of the range.

The value is the zero-based index, at which the column appears in the grid control, from left to right, considering sorting columns and hidden columns.