BCGControlBar Pro for MFC
BOOL CBCGPGridCtrl::IsColumnAutoSizeEnabled ( ) const
inline

Tells whether the column auto-size feature is enabled or disabled.

Returns
Nonzero if the column auto-size feature is enabled; otherwise 0.

Use this function to determine whether the column auto-size feature is enabled or disabled. If column auto-sizing is enabled, the grid automatically resizes its columns to fit in working area. The width of the locked columns is not changed.