I've implemented drag-and-drop from a listbox to a treeview with the help of this question. The only thing I haven't figured out yet is how to drag more than one item from the listbox. I've enabled multiselect on the listbox, but when I have multiple items selected and start the drag, it deselects everything except for the item directly under the mouse pointer. Has anyone gotten drag-and-drop to work with multiselect, and if so, how?
Asked
Active
Viewed 1,490 times
2 Answers
0
You have to keep the ctrl or shift key pressed when you begin the drop, if you let go the listbox goes back to 'begin select' mode again.

Simon
- 6,062
- 13
- 60
- 97