Compartilhar via


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

Reference

CListCtrl Class

Hierarchy Chart

CListCtrl::SetGroupInfo

Other Resources

CListCtrl Members