Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag'n'drop from Outlook into Listview
Message
From
03/07/2018 05:24:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Drag'n'drop from Outlook into Listview
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
MS SQL Server
Miscellaneous
Thread ID:
01661012
Message ID:
01661012
Views:
73
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?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Next
Reply
Map
View

Click here to load this message in the networking platform