0
votes

I am developing an outlook VSTO add in.I have a tree view in a custom task pane.What I want to do is that when a user drag drops a tree node on to the inbox,it should create a new email,download the file based upon the data in drag drop events and attach the file to the email.But I am unable to figure out any drag drop event for outlook's inbox.Where can I find it?Thanks in advance.

1

1 Answers

0
votes

The only drag/drop operations that are supported are the Explorer.BeforeItemCopy/Cut/Paste events, but that only handles Outlook items that are copied or moved from one folder to another and not Windows Form controls.

Otherwise everything else is possible, but tricky and not supported. See here: http://blogs.msdn.com/b/webdav_101/archive/2008/04/01/drag-and-drop-with-outlook.aspx