Поделиться через


CTreeCtrl::GetItem

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

BOOL GetItem(
   TVITEM* pItem 
) const;

Параметры

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

Возвращаемое значение

Nonzero if successful; otherwise 0.

Пример

See the example for CTreeCtrl::DeleteItem.

Требования

Header: afxcmn.h

См. также

Основные понятия

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::SetItem

CTreeCtrl::GetChildItem

CTreeCtrl::GetNextItem

CTreeCtrl::SelectItem