MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LVM_SORTGROUPS

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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

pfnGroupCompare

Pointer to an application-defined comparison function, LVGroupCompare.

plv

Void pointer to the application-defined information.

Returns 1 if successful, or 0 otherwise.

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

Community Additions

Show:
© 2016 Microsoft