BCGSuite for MFC
CString CBCGPGridCtrl::GetColumnName ( int  nCol) const

Retrieves the name of the specified column in a grid control.

Returns
The name of the column if successful; otherwise - empty string.
Parameters
nColThe zero-based index of the column.