You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand the purpose of this great Add-in to be to adjust the format of the IDataObject so that drop targets can recognize the format then I have a suggestion for further adjustment.
It appears that Outlook attachments are very unique in other ways too.
It accepts an IDataObject for example on DragEnter and DragDrop, however if you drag an Outlook attachment to an application that implements the IDropTargetHelper then it complains that there is an invalid FORMATETC structure (Exception from HRESULT 0x80040064 (FV_E_FORMATETC).
I was hoping that your OutlookDataObject would make the adjustments but unfortunately it does not.
If I understand the purpose of this great Add-in to be to adjust the format of the IDataObject so that drop targets can recognize the format then I have a suggestion for further adjustment.
It appears that Outlook attachments are very unique in other ways too.
The IDropTargetHelper exposes methods that allow drop targets to display a drag image while the image is over the target window.. Here is also a walkthrough Part 1
It accepts an IDataObject for example on DragEnter and DragDrop, however if you drag an Outlook attachment to an application that implements the IDropTargetHelper then it complains that there is an invalid FORMATETC structure (Exception from HRESULT 0x80040064 (FV_E_FORMATETC).
I was hoping that your OutlookDataObject would make the adjustments but unfortunately it does not.
To reproduce simply Cut and Copy this code into a WinForms Project then drag an Outlook attachment onto that form.
Happy to help any way I can.
The text was updated successfully, but these errors were encountered: