BCGSuite for MFC
BOOL CBCGPGridCtrl::GetColumnLocked ( int  nCol) const

Tells whether the column's width is locked, or not

Returns
TRUE, if the column's width is locked, otherwise FALSE.

Use this function to determine whether the column's width is locked, or not. Some columns of the grid control may have fixed width. The width of the locked columns can't be changed by user or automatically with auto-size feature.

Parameters
nColThe zero-based index of the column.