CTreeCtrl::SetItemImage

This method sets the index of the item’s image and its selected image within the tree view control’s image list.

At a Glance

Header file: Afxcmn.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions:: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

CTreeCtrl::GetItemImage, CImageList