LVM_SORTGROUPS Message


This is preliminary documentation and is subject to change.

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

Headercommctrl.h
Minimum operating systems Windows NT Whistler


© 2000 Microsoft Corporation. All rights reserved. Terms of use.