BCGControlBar Pro for MFC
int CBCGPGridCtrl::GetColumnOrderArray ( CArray< int, int > &  arColumns) const

Retrieves the order of columns.

When the function returns, the array piArray will be filled by integer values each of them specifies the current order of a column.

arColumnsA pointer to array of integers. Should be allocated by caller.