ListView_EnableGroupView (Windows CE 5.0)
This macro determines whether the items in a list-view control display as a group. You can use this macro or send the LVM_ENABLEGROUPVIEW message explicitly.
int ListView_EnableGroupView( HWND hwnd, BOOL fEnable);
Parameters
- hwnd
Handle to the list-view control. - fEnable
BOOL that indicates whether to enable a list-view control to group displayed items. Use TRUE to enable grouping, FALSE to disable it.
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. |
Remarks
None.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Commctrl.h.
See Also
Send Feedback on this topic to the authors