Partager via


CMFCListCtrl::Sort

Sorts the list control.

virtual void Sort(
   int iColumn,
   BOOL bAscending = TRUE,
   BOOL bAdd = FALSE 
);

Parameters

  • [in] iColumn
    The column to sort.

  • [in] bAscending
    A Boolean that specifies the sort order.

  • [in] bAdd
    A Boolean that specifies whether this method adds the column indicated by iColumn to the list of sort columns.

Requirements

Header: afxlistctrl.h

See Also

Reference

CMFCListCtrl Class

Hierarchy Chart