BCGControlBar Pro for MFC
int CBCGPGridCtrl::GetColumnOrderArray ( LPINT  piArray,
int  iCount 
) 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.

piArrayA pointer to array of integers. Should be allocated by caller.
iCountThe number of elements to copy.