This documentation is archived and is not being maintained.


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

int GetGroupCount()const;

The number of groups in the list-view control.

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

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.