Question drag and drop from listview to external window

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
Can i drag a listview item out to an external program. Just like how i can drag a file from explorer into handbrake. Can i drag a listviewitem into handbrake?
 
Yes you can, but the drop application/control may only allow certain types of data. For example if you know it accepts file drops and your listviewitem represents a file/path, you can use SetFileDropList for the DataObject that you pass to DoDragDrop.
 
Back
Top