BCGControlBar Pro for MFC
BOOL CBCGPHeaderCtrl::IsAscending ( ) const

Tells whether the current sorted column has ascending or descending sort order.

Returns
Nonzero if the current sorted column has ascending sort order; otherwise 0.

Determines whether the current sorted column has ascending or descending sort order. This information is required to display the appropriate sort arrow on the header control item.

The sort order may be set by the SetSortColumn() function.