Share via


LVM_SORTGROUPS (Windows CE 5.0)

Send Feedback

This message uses an application-defined comparison function to sort groups by ID within a list-view control.

To send this message, call the SendMessage function.

lResult = SendMessage(    (HWND) hWndControl,   (UINT) LVM_SORTGROUPS,    (WPARAM) wParam,    // = (WPARAM) (PFNLVGROUPCOMPARE) pfnGroupCompare;   (LPARAM) lParam     // = (LPARAM) (LPVOID) plv;);

Parameters

  • pfnGroupCompare
    Pointer to an application-defined comparison function, LVGroupCompare.
  • plv
    Void pointer to the application-defined information.

Return Value

Returns 1 if successful, or 0 otherwise.

Requirements

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

See Also

List-View Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.