
How does CTreeCtrl::DeleteItem work?
Hello.
This is a easy question to ask, and I hope that for some of you it is a
eaqual easy question to answer.
I have my own classes conneted to items in a treectrl. This classes are
inserted by using SetItemData(new MyClass() ). (this i a little bit
simplified)
Now what I'm woundring about is if CTreeCtrl item do a delete on its data
when the item is deletet, or do I have to do this manually?
Normally I would thing that it dit not, but alle the MFC classes that dont
delete their data, normally has this explicity written in the class
description. I havent fount anything like this in the tree ctrel
description.
I would be glad if someone could give me a hint on this.
(if you are so kind to responce, please send me a CC by mail:
--
Trond-Eirik Kolloen
Elanders Publishing AS
-------------------------------------------------------
Tlf work: 22.63.62.89, Fax work: 22.63.65.91, Tlf priv: 22.28.23.91