drag and drop to Outlook 2007
- From: "Mark Smith" <sti@xxxxxxxxxxxxx>
- Date: Mon, 9 Feb 2009 16:13:32 -0600
Hi everyone!
I'm not sure if this is the right newsgroup to ask this question. If not, please point me to the correct one!
Back in Outlook 2000, we implemented a drag and drop feature from our program to drag files using the IStream interface. This has worked perfectly fine until Outlook 2007. Now, with Outlook 2007, if you drag a file from our program to the body of a new e-mail inspector in Outlook, the cursor switches to indicate that the file can be dropped there, but when the mouse is released nothing happens (for right click and drag you get the menu, but neither selecting move or copy results in anything happening). The weird thing is that if you've already attached a file and so have the attachment bar, you can successfully drag and drop a file there, just not into the body of the e-mail. Our drag and drop feature works with many other programs, including Windows Explorer.
I put a breakpoint in my code to see if my IStream interface was getting hit after we initiate the drag and the QueryInterface function was not even called. So it appears that the failure (whatever it is) is happening very early.
I'm using COleDataSource to initiate the drag, with TYMED_ISTREAM. If needed I can post some code. But since it has been working for years and still does for most cases, I'm hoping to hear that there is a bug in Outlook 2007.
Thank you for any help!
Mark Smith
.
- Follow-Ups:
- Re: drag and drop to Outlook 2007
- From: Mark Smith
- Re: drag and drop to Outlook 2007
- Prev by Date: Active Script Hosting - Halt
- Next by Date: Questions about apartment threading models
- Previous by thread: Active Script Hosting - Halt
- Next by thread: Re: drag and drop to Outlook 2007
- Index(es):
Relevant Pages
|