Condividi tramite


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.

Return Value

Returns true on success, false on failure.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart

Other Resources

CListCtrl Members