| BOOL CBCGPGridColumnsInfo::SetColumnWidthAutoSize | ( | int | nColumn, |
| BOOL | bBestFit | ||
| ) |
Enables or disables automatic size for a column.
Call this method to turn auto size feature for a column on or off.
| nColumn | A zero-based index of a column. |
| bBestFit | TRUE - the Grid should call CBCGPGridCtrl::OnGetColumnAutoSize to calculate column width. FALSE - the column width is set by SetColumnWidth. |