BOOL DeleteColumn( int nCol );
Return Value
Nonzero if successful; otherwise zero.
Parameters
nCol
Index of the column to be deleted.
Remarks
Call this function to delete a column from the list view control.
Example
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
int nColumnCount = pmyListCtrl->GetHeaderCtrl()->GetItemCount();
// Delete all of the columns.
for (int i=0;i < nColumnCount;i++)
{
pmyListCtrl->DeleteColumn(0);
}