BCGControlBar Pro for MFC
CBCGPGridColumnsInfo

Detailed Description

The CBCGPGridColumnsInfo class is used by the CBCGPGridCtrl class to store information about columns of the grid control. It keeps track of the list of sorted columns, list of grouped columns, columns order and supports auto-size feature. Mostly you don't need to access/manage objects of this class; the grid has the corresponding wrapper functions.

See also
CBCGPGridCtrl
+ Inheritance diagram for CBCGPGridColumnsInfo:

Public Member Functions

 EnableCheckBoxEnables or disables the grid column check box.
 
 GetCheckBoxStateRetrieves the column check state.
 
 GetColumnImageReturns the zero-based index of the image, associated with the specified column.
 
 GetColumnWidthAutoSizeTells whether a column has fixed, or automatic size.
 
 InsertColumnsInserts several columns into the grid control.
 
 IsCheckBoxEnabledTells whether a grid column check box is enabled or not.
 
 ResizeRecalculates the width of columns to fit the working area of the grid control.
 
 SetCheckBoxStateSets a column check state.
 
 SetColumnImageAssociates the column with image from the header's image list.
 
 SetColumnWidthAutoSizeEnables or disables automatic size for a column.
 
 SetHeaderMultiLineSets a column header to multiline mode.