This documentation is archived and is not being maintained.


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

BOOL SortGroups( 
   PFNLVGROUPCOMPARE _pfnGroupCompare, 
   LPVOID _plv  


A pointer to the group comparison function.


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 Windows SDK.

Header: afxcmn.h