다음을 통해 공유


CTreeCtrl::GetItem

Call this function to retrieve the attributes of the specified tree view item.

BOOL GetItem(
   TVITEM* pItem 
) const;

Parameters

  • pItem
    A pointer to a TVITEM structure, as described in the Windows SDK.

Return Value

Nonzero if successful; otherwise 0.

Example

See the example for CTreeCtrl::DeleteItem.

Requirements

Header: afxcmn.h

See Also

Concepts

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::SetItem

CTreeCtrl::GetChildItem

CTreeCtrl::GetNextItem

CTreeCtrl::SelectItem