Article View: borland.public.cppbuilder.nativeapi
Article #7147Re: Dragging text between two apps?
From: Remy Lebeau (TeamB)
Date: Tue, 08 Mar 2005 00:43
Date: Tue, 08 Mar 2005 00:43
15 lines
1508 bytes
1508 bytes
"Ron Sawyer" <XXXRSAWYER8128XQQXX@aol.com> wrote in message news:422cdc49@newsgroups.borland.com... > I can't figure out how to drag and drop text between two apps. For what you ask, you need to use OLE Drag&Drop. The application being dragged from needs to implement the IDropSource and IDataObject interfaces, 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
Technical Details
Message-ID:
<422cf50c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<422cdc49@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,66ce696a344d30b7,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <422cdc49@newsgroups.borland.com> Subject: Re: Dragging text between two apps? Date: Mon, 7 Mar 2005 16:43:14 -0800 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <422cf50c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110242572 68.69.17.41 (7 Mar 2005 16:42:52 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail