Treeview Drag and Drop
Posted on 2001-09-05
I'm using VB 6.0 and am trying to do drag-and-drop with a treeview control. If you look at the folders section in Windows Explorer you'll be able to see what I'm trying to do. Basically, I want the user to click on a node in the treeview control and be able to drag that node over top of another node and move it there by releasing the mouse button. Just like in Windows Explorer. I've done drag-and-drop before so I know the basics of using the Drag, DragOver, and DragDrop methods, I just don't know how to drag a node from a treeview control to another node in the same treeview control.