LVM_REMOVEGROUP

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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

To send this message, call the SendMessage function.


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

iGroupId

Identifier (ID) that specifies the group to remove.

lParam

Must be NULL.

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

Headercommctrl.h
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: