Board index » cppbuilder » Dragging text between two apps?
Ron Sawyer
CBuilder Developer |
Ron Sawyer
CBuilder Developer |
Dragging text between two apps?2005-03-08 06:56:31 AM cppbuilder58 I have two apps written by our department. We would like to drag and drop text between the two. I have in the past implemented drag and drop of files, and drag and drop of text between two controls in the same app, but I can't figure out how to drag and drop text between two apps. Can anyone point me in the right direction? |
Remy Lebeau (TeamB)
CBuilder Developer |
2005-03-08 08:43:14 AM
Re:Dragging text between two apps?
"Ron Sawyer" < XXXX@XXXXX.COM >wrote in message
QuoteI can't figure out how to drag and drop text between two apps. and call DoDragDrop() when dragging begins. The application being dragged to need to implement the IDropTarget interface and call RegisterDragDrop() and RevokeDragDrop() at program startup/shutdown. The IDataObject wll contain the actual text data being dragged. Gambit |