LVM_SORTGROUPS
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.
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 |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |