Share via


LVM_SORTGROUPS (Compact 2013)

3/28/2014

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.

Syntax

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

Header

commctrl.h

See Also

Reference

List-View Controls Messages