Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag'n'drop from Outlook into Listview
Message
De
03/07/2018 06:48:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
03/07/2018 06:23:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
MS SQL Server
Divers
Thread ID:
01661012
Message ID:
01661014
Vues:
48
>>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.

Found hints to that at http://fox.wikis.com/wc.dll?Wiki~OutlookDragDrop, with some interesting code.

Outlook seems to be yet another kludge-on-kludge (20+ years of accumulation) that's typical for that publishing house, but at least the Fox community finds ways around it.

Debugging is in progress...

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform