Drag N Drop Text To Dialog
Posted on 2006-05-07
I know how to drag and drop a file to a dialog. I already have this in place.
My problem is that I also would like to be able to drag and drop text (mainly specific contents of a file) to my dialog.
I have a text file that says: "My dog is my best friend."
Now if I select just "dog is my" and drag it from the text file, is there a way to get the event so I can process the drag text "dog is my".
I would like to keep the DropFiles part working as well.
NOTE: this text file is not part of my app, it could be any text editor, text field, html file... anything that gives the cursor signal to dragDrop.
ALSO: I have copy & paste working but would like to also have the dragDrop text.