PDA

Click to See Complete Forum and Search --> : Treeview Node States - complex


crispin
Nov 1st, 2000, 02:55 AM
I have a treeview, I am able to get handles to nodes, and then I can change the state of the node using the TVM_SETITEM message - this works fine.

I change the state of a node to TVIS_CUT, using a TVITEM type (which grays out the node, like pressing ctrl-X in Explorer.

I cannot change the state of the node back to normal, to return the node icon to its previous state. If anyone has any ideas.....

if anyone wants the code (its pretty small) then lemme know.
TIA