LVM_REMOVEGROUP Message


This is preliminary documentation and is subject to change.

Removes a group from a list view control.

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns int in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) LVM_REMOVEGROUP,     // message ID
   (WPARAM) wParam,     // = (WPARAM) (int) iGroundId
   (LPARAM) lParam     // = (LPARAM) (LPARAM) lParam
);

Parameters

iGroundId
[in] Identifier that specifies the group to remove.
lParam
[in] Must be NULL.

Return Value

Returns the index of the group if successful, or -1 otherwise.

Message Requirements

Headercommctrl.h
Minimum operating systems Windows NT Whistler


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