BCGSuite for MFC
BOOL CBCGPGridCtrl::DeleteColumn ( int  nPos)

Deletes a column from the grid control.

Returns
Non-zero if successful; otherwise 0.

Call this function to delete a column located at the specified position from the grid control. Please note that this method doesn't remove the grid cells.

Parameters
nPosSpecifies position of the column to be deleted.