Condividi tramite


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

Reference

CTreeCtrl Class

Hierarchy Chart

CTreeCtrl::SetItem

CTreeCtrl::GetChildItem

CTreeCtrl::GetNextItem

CTreeCtrl::SelectItem

Other Resources

CTreeCtrl Members