Share via


CListCtrl::GetGroupCount

Retrieves the number of groups in the current list-view control.

int GetGroupCount()const;

Return Value

The number of groups in the list-view control.

Remarks

This method sends the LVM_GETGROUPCOUNT message, which is described in the Windows SDK.

Requirements

Header: afxcmn.h

This control is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

See Also

Reference

CListCtrl Class

Hierarchy Chart

LVM_GETGROUPCOUNT