Link to home
Start Free TrialLog in
Avatar of deleyd
deleydFlag for United States of America

asked on

tree drag rearrange nodes

OK experts I'm starting with this TreeView which has drag & drop capability from this article:

I would like to enhance it so I can rearrange the tree nodes by dragging them. As it is now I can drag a node on top of another node and drop it, and my dragged node becomes a child of the node I dragged it to. I would like to drag a node between other nodes and drop it at the same level.

2ndly, I would like to drag a file from Windows Explorer to the tree and add it to the tree. As it is now it will not accept a dragged item from outside.

If you could point me in the right direction that would be greatly appreciated. There's a lot of documentation to wade through and I'd like to know where to focus my attention.

Also is there a spy utility that will show me all the messages getting sent to the pump? That might help me understand what's going on as I play with it.
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial