CTreeCtrl::SetItemImage

Call this member function to set the index of the item's image and its selected image within the tree view control's image list.

Syntax

BOOL SetItemImage( HTREEITEM hItem, int nImage, int nSelectedImage );

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CTreeCtrl Overview, CTreeCtrl Member Functions, Control Classes, CTreeCtrl::GetItemImage, CImageList