CTreeCtrl::GetItem

 

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

Syntax

      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

CTreeCtrl Class
Hierarchy Chart
CTreeCtrl::SetItem
CTreeCtrl::GetChildItem
CTreeCtrl::GetNextItem
CTreeCtrl::SelectItem