CMFCHeaderCtrl::IsAscending

Indicates whether any column in the header control is sorted in ascending order.

BOOL IsAscending() const;

Return Value

TRUE if any column in the header control is sorted in ascending order; otherwise, FALSE.

Remarks

The value that this method returns is used to display the appropriate sort arrow on the header control item. Use the CMFCHeaderCtrl::SetSortColumn method to set the sort order.

Requirements

Header: afxheaderctrl.h

See Also

Reference

CMFCHeaderCtrl Class

Hierarchy Chart

CMFCHeaderCtrl::SetSortColumn