LVM_ENABLEGROUPVIEW (Windows CE 5.0)

Send Feedback

This message determines whether the items in a list-view control are displayed as a group.

To send this message, call the SendMessage function.

lResult = SendMessage(   (HWND) hWndControl,   (UINT) LVM_ENABLEGROUPVIEW,   (WPARAM) wParam,    // = (WPARAM) (BOOL) fEnable;   (LPARAM) lParam     // = (LPARAM) (LPARAM) lParam;);

Parameters

  • fEnable
    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 Values

Returns one of the following values.

Value 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.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Commctrl.h.

See Also

List-View Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.