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
Header commctrl.h Minimum operating systems Windows NT Whistler