Condividi tramite


CTreeCtrl::GetItemText

Returns the text of the item specified by hItem.

CString GetItemText(
   HTREEITEM hItem 
) const;

Parameters

  • hItem
    Handle of the item whose text is to be retrieved.

Return Value

A CString object containing the item's text.

Example

See the example for CTreeCtrl::GetNextItem.

Requirements

Header: afxcmn.h

See Also

Reference

CTreeCtrl Class

Hierarchy Chart

CTreeCtrl::SetItemText

Other Resources

CTreeCtrl Members