Partager via


LVM_REMOVEGROUP (Compact 2013)

3/28/2014

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

See Also

Reference

List-View Controls Messages