BCGControlBar Pro for MFC
int CBCGPGridCtrl::GetFrozenColumns ( ) const

Returns a frozen columns number.