BCGControlBar Pro for MFC
virtual int CBCGPGridCtrl::OnGetColumnAutoSize ( int  nColumn) const
protectedvirtual

Called by the Grid control to determine automatic size of a particular column.

Returns
Automatic column size, or -1 if there is no auto resize.

Override this message in a derived class if you wish to control automatic size of columns.

Parameters
nColumnColumn index.