I am using a tree contol in My MFC Application, It works fine, I am able to sucessfully add or delete nodes in the tree . But the problem arise when I delete all the nodes with DeleteAllItems() function . This Function deletes all the nodes, but after this I am unable to insert any new node in the tree.
If I still insert a new node, tree doesn't display it, but if I click on the tree controls area where new node should have been displayed, A block of blue color appears there.
I think that the new node is getting created, but there is some problem that prevents it to be displayed.
Plz Give me your valuable suggestions regarding this trouble.