Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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

© 2015 Microsoft