int CBCGPHeaderCtrl::GetSortColumn | ( | ) | const |
Returns the zero-based index of a column that is sorted.
Call this member function to retrieve the index of sorted column. The sorted column can be set by SetSortColumn(). The header control item for the sorted column should display the sort arrow.
Use GetColumnState() instead if the header control is working in multiple sort mode.