A
Aamir
Hello,
If I have a graphic and I want to allow it to serve as drag source,
how do I do this?
Imagine that I want to drag from my application to Windows Explorer,
so that when I complete the drag-and-drop a file is copied to the
given directory. I know the way to do it if I'm using a Windows Form
is to implement DoDragDrop(), but what do I do if I am not?
I know I need to somehow create a DataObject, but then how do I ensure
that Windows uses this DataObject when it finishes the drag-and-drop
outside of my application?
Thanks so much for your help!
If I have a graphic and I want to allow it to serve as drag source,
how do I do this?
Imagine that I want to drag from my application to Windows Explorer,
so that when I complete the drag-and-drop a file is copied to the
given directory. I know the way to do it if I'm using a Windows Form
is to implement DoDragDrop(), but what do I do if I am not?
I know I need to somehow create a DataObject, but then how do I ensure
that Windows uses this DataObject when it finishes the drag-and-drop
outside of my application?
Thanks so much for your help!