Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CListCtrl::EnableGroupView

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

LRESULT EnableGroupView( 
   BOOL fEnable  
);
fEnable

Indicates whether to enable a listview control to group displayed items. TRUE to enable grouping; FALSE to disable it.

Returns one of the following values:

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

This member function emulates the functionality of the LVM_ENABLEGROUPVIEW message, as described in the Windows SDK.

Header: afxcmn.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.