ListView_SortGroups (Windows CE 5.0)

Send Feedback

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);

Parameters

  • hwnd
    Handle to the list-view control.
  • pfnGroupCompare
    Pointer to a comparison function.
  • plv
    Void pointer.

Return Values

Returns 1 if successful, or 0 otherwise.

Remarks

None.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Commctrl.h.

See Also

List-View Controls Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.