Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag'n'drop from Outlook into Listview
Message
From
03/07/2018 06:23:36
 
 
To
03/07/2018 05:24:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
MS SQL Server
Miscellaneous
Thread ID:
01661012
Message ID:
01661013
Views:
60
>I have a MSComctlLib.ListViewCtrl.2 i.e. a listview which accepts files dropped from FExplorer or TotalCommander - everything's fine, I can even catch multiple files, everything's fine.
>
>Now there's a request to accept files dragged and dropped from Outlook. I don't even know whether it has its own filesystem, or they mean attachments to emails. I tried to compose a draft message and add a .jpg to it, and when I drag that to my listview, I get the no-parking icon, i.e. it doesn't accept the object. Perhaps Outlook doesn't consider an attachment to a draft message a proper attachment? But it does show it.
>
>I have OleDropMode=1, oleDragMode=0 and some code n OleDragDrop() to accept the object and copy the file(s) where they should go.
>
>Is there some way to make this work?

I don't know the answer without testing, but try using DEBUGOUT in OLEDragOver and OLEDragDrop to see what parameters they're receiving.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform