LVM_ENABLEGROUPVIEW Message


This is preliminary documentation and is subject to change.

Enables or disables a group.

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns int in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) LVM_ENABLEGROUPVIEW,     // message ID
   (WPARAM) wParam,     // = (WPARAM) (BOOL) fEnable
   (LPARAM) lParam     // = (LPARAM) (LPARAM) lParam
);

Parameters

fEnable
[in] BOOL that indicates whether to enable or disable the group. Use TRUE to enable group view, FALSE to disable it.
lParam
[in] Must be NULL.

Return Value

Returns one of the following:

0The group is already in an enabled or disabled state.
1The state of the group was successfully changed.
-1The operation failed.

Message Requirements

Headercommctrl.h
Minimum operating systems Windows NT Whistler


© 2000 Microsoft Corporation. All rights reserved. Terms of use.