0

Hi ,


i am working with CTreeCtrl,
Here i need to add and remove IMAGE
on the tree item at runtime. ie add an image
only on the particular tree item . How can i do this.
i have tried something like this .

HTREEITEM itemSelected = mtreeCtrl.GetSelectedItem();
mtreeCtrl.SetImageList(&mImageList, LVSIL_NORMAL);

the problem here is Image gets added to all the items
in the tree view . i just want to know how to associate
an image to particular tree item.


Thanks in Advance.

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by koushal.vv
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.