Export (0) Print
Expand All
Expand Minimize

ListView_SortGroups

Windows Mobile 6.5
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.


int ListView_SortGroups(
   HWND hwnd,
   PFNLVGROUPCOMPARE pfnGroupCompare,
   LPVOID plv
);

hwnd

Handle to the list-view control.

pfnGroupCompare

Pointer to a comparison function.

plv

Void pointer.

Returns 1 if successful, or 0 otherwise.

None.

Headercommctrl.h
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft