Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Drag/Drop

9 views
Skip to first unread message

Brian

unread,
Dec 1, 2005, 11:03:41 AM12/1/05
to

I've figured out how to allow drag/drop from the desktop, etc. to
my application, but how do I implement the reverse? In other words,
how can I implement the ability to drag/drop files from my
application to an explorer window?

Thanks in advance for any help.

Jeff Kish

unread,
Dec 1, 2005, 2:43:09 PM12/1/05
to
On 1 Dec 2005 09:03:41 -0700, "Brian" <brian....@fnc.fujitsu.com>
wrote:

How did you implement the reverse?

Are you talkijg about file drag and drop, or drag and drop from, say,
Excel or what?
Jeff Kish

Brian

unread,
Dec 1, 2005, 2:08:49 PM12/1/05
to

Jeff Kish <jeff...@mro.com> wrote:
>Are you talkijg about file drag and drop, or drag and drop from, say, Excel or what?

File drag and drop.

Remy Lebeau (TeamB)

unread,
Dec 1, 2005, 3:55:44 PM12/1/05
to

"Brian" <brian....@fnc.fujitsu.com> wrote in message
news:438f5851$1...@newsgroups.borland.com...

> File drag and drop.

You must implement the IDropSource and IDataObject interfaces in your code,
and you need to call DoDragDrop() when appropriate.

Refer to the following articles for more details:

Data Transfer

http://msdn.microsoft.com/library/en-us/com/html/26b16438-f940-4086-869e-74021ed00b1e.asp

Transferring Shell Objects with Drag-and-Drop and the Clipboard

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_programming/transferring/transfer.asp

Handling Shell Data Transfer Scenarios

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_programming/transferring/datascenarios.asp


Gambit


0 new messages