LVM_ENABLEGROUPVIEW message

Enables or disables whether the items in a list-view control display as a group.

Parameters

wParam

A **BOOL** that indicates whether to enable a list-view control to group displayed items. Use **TRUE** to enable grouping, **FALSE** to disable it.

lParam

Must be **NULL**.

Return value

Returns one of the following values.

Return code Description
0
The ability to display list-view items as a group is already enabled or disabled.
1
The state of the control was successfully changed.
-1
The operation failed.

Remarks

LVM_ENABLEGROUPVIEW is not supported under the LVS_OWNERDATA style.

Note

To use this message, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h