Share via


CMFCListCtrl::EnableMultipleSort

Enables sorting the rows of data in the list control by multiple columns.

void EnableMultipleSort(
   BOOL bEnable = TRUE
);

Parameters

  • [in] bEnable
    A Boolean that specifies whether to enable multiple column sort mode.

Remarks

When you enable sorting based on multiple columns, the columns do have a hierarchy. The rows of data will first be sorted by the primary column. Any equivalent values are then sorted by each subsequent column based on priority.

Requirements

Header: afxlistctrl.h

See Also

Reference

CMFCListCtrl Class

Hierarchy Chart