ListView_SortGroups
A version of this page is also available for
4/8/2010
This macro uses an application-defined comparison function to sort groups by identifier (ID) within a list-view control. You can use this macro or send the LVM_SORTGROUPS message explicitly.
Syntax
int ListView_SortGroups(
HWND hwnd,
PFNLVGROUPCOMPARE pfnGroupCompare,
LPVOID plv
);
Parameters
- hwnd
Handle to the list-view control.
- pfnGroupCompare
Pointer to a comparison function.
- plv
Void pointer.
Return Value
Returns 1 if successful, or 0 otherwise.
Remarks
None.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |