Share via


LVM_REMOVEGROUP

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message removes a group from a list-view control.

To send this message, call the SendMessage function.

Syntax

lResult = SendMessage(
   (HWND) hWndControl,
   (UINT) LVM_REMOVEGROUP,
   (WPARAM) wParam,    // = (WPARAM) (int) iGroupId;
   (LPARAM) lParam     // = (LPARAM) (LPARAM) lParam;
);

Parameters

  • iGroupId
    Identifier (ID) that specifies the group to remove.
  • lParam
    Must be NULL.

Return Value

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

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

List-View Controls Messages