Share via


ListView_SortGroups (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

List-View Controls Macros