problem with adding items using CTreeCtrl class
-
Hello All, Iam using CTreeCtrl method to add items in a tree.Actually i create two root nodes using GetRootNode()method.I add both root nodes properly in the tree,But what's my problem is i need to add child nodes in appropriate parent(root)nodes at runtime.But,all the child nodes adding in the first parent(root)node only.once i use deleteallitems() and redraw the tree only child nodes are added in appropriate parent(root)nodes.Without using DeleteAllItems() i need to add the child nodes in a appropriate parent(root)node. please anybody help me. Thanks in advance, Regards, bhanu.
-
Hello All, Iam using CTreeCtrl method to add items in a tree.Actually i create two root nodes using GetRootNode()method.I add both root nodes properly in the tree,But what's my problem is i need to add child nodes in appropriate parent(root)nodes at runtime.But,all the child nodes adding in the first parent(root)node only.once i use deleteallitems() and redraw the tree only child nodes are added in appropriate parent(root)nodes.Without using DeleteAllItems() i need to add the child nodes in a appropriate parent(root)node. please anybody help me. Thanks in advance, Regards, bhanu.
See http://www.codeproject.com/script/Forums/View.aspx?fid=1647&msg=2926281[^] If you have bhanu_reddy09 are different people, I apologise... Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
-
See http://www.codeproject.com/script/Forums/View.aspx?fid=1647&msg=2926281[^] If you have bhanu_reddy09 are different people, I apologise... Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...