CListCtrl::GetGroupInfo

Gets the information for a specified group of the list view control.

int GetGroupInfo(
   int iGroupId,
   PLVGROUP pgrp 
) const;

Parameters

  • iGroupId
    The identifier of the group whose information is to be retrieved.

  • pgrp
    A pointer to the LVGROUP containing information on the group specified.

Return Value

Returns the ID of the group if successful, or -1 otherwise.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Concepts

CListCtrl Class

CListCtrl Members

Hierarchy Chart

CListCtrl::SetGroupInfo