Sorts a group.
To send this message, call the SendMessage function as follows.
lResult = SendMessage( // returns int in lResult (HWND) hWndControl, // handle to destination control (UINT) LVM_SORTGROUPS, // message ID (WPARAM) wParam, // = (WPARAM) (PFNLVGROUPCOMPARE) pfnGroupCompare (LPARAM) lParam // = (LPARAM) (LPVOID) plv );
Parameters
- pfnGroupCompare
- [in] Pointer to a comparison function.
- plv
- [in] Void pointer.
Return Value
Returns 1 if successful, or 0 otherwise.
Message Requirements
Header commctrl.h Minimum operating systems Windows NT Whistler