Call this member function to sort list view items using an application-defined comparison function. The index of each item changes to reflect the new sequence.
BOOL SortItems( PFNLVCOMPARE pfnCompare, DWORD dwData );
Header File | Afxcmn.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CListCtrl Overview, CListCtrl Member Functions, Control Classes, CListCtrl::FindItem