This documentation is archived and is not being maintained.

CListCtrl::SortGroups 

Uses an application-defined comparison function to sort groups by ID within a list view control.


BOOL SortGroups(
   PFNLVGROUPCOMPARE _pfnGroupCompare,
   LPVOID _plv 
);

Parameters

_pfnGroupCompare

A pointer to the group comparison function.

_plv

A void pointer.

Returns TRUE on success, FALSE on failure.

This member function emulates the functionality of the LVM_SORTGROUPS message, as described in the Platform SDK.

Show: