Is it possible to just hide a tree node ( and all its children) in a tree control but NOT to delete it from the tree?
Thanks.-- Shine
Printable View
Is it possible to just hide a tree node ( and all its children) in a tree control but NOT to delete it from the tree?
Thanks.-- Shine
I believe that if you call the Expand() command with the collapse option (TVE_COLLAPSE), you should get the result you want. Be careful not to use the TVE_COLLAPSERESET as that will actually delete the tree items.
Kevin
I should have stated my question more clearly. Consider the following tree:
[+]--A
|
----B
What I want to do is to only hide ONE specific tree node, say B. Is it possible?
Thanks. Shine B.