BCGSuite for MFC
void CBCGPGridColumnsInfo::InsertColumns ( int  nColumnsNum,
int  nDefaultWidth = 10 
)

Inserts several columns into the grid control.

Use this function to insert several columns into the grid control. The columns are given the standard name like "column " + "column number" ("column 1", "column 2", "column 3" etc). The width of all columns is also the same as specified by nDefaultWidth.

Parameters
nColumnsNumSpecifies the number of columns to insert.
nDefaultWidthThe width of each column in pixels.