BCGSuite for MFC
BOOL CBCGPGridCtrl::SetColumnVisible ( int  nColumn,
BOOL  bVisible 
)

Hides or shows a column.

Use this function to make a column visible or not.

Parameters
nColumnSpecifies the column index.
bVisibleIf TRUE, the column is displayed, if FALSE, the column is hidden.