Drag drop

A

Alan T

I have a tree view on the left and a list view on the right.

I will drag and drop from list view to treeview,
and also drag drop tree node on the same tree view.
How do I differentiate I drag from listview or within the tree view when I
drop on the tree view ?
 
G

Guest

I often find it easier to wrap the actual data I am dragdropping in a
dragdropinfo class which contains information like a reference to the source
object etc. This would make telling quite easy.

HTH

Ciaran O'Donnell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top