Information générale
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement