[python-win32] Drag and Drop from Outlook
Jürgen Kareta
python at kareta.de
Tue Mar 13 12:48:43 CET 2007
Andrea Gavana schrieb:
>Hi All,
>
> I am trying to make my application accepting drag and drop emails
>from Outlook. I was told on the wxPython mailing list to try to use
>win32com, but actually I have no idea which clipboard data format an
>Outlook email has. I have tried to set up a custom drop target for
>that:
>
>class MyDropTarget(wx.PyDropTarget):
> def __init__(self):
> wx.PyDropTarget.__init__(self)
>
> self.data = wx.CustomDataObject("Outlook Express Messages")
> self.SetDataObject(self.data)
>
>But my app doesn't recongnize it with the identifier "Outlook Express
>Messages". I don't know almost anything about win32com, so I am
>asking: is there a way to do what I am trying to do with win32com?
>Does anyone know which is the clipboard data format for a dragged
>Outlook message?
>
>Thank you for your suggestions.
>
>Andrea.
>
>"Imagination Is The Only Weapon In The War Against Reality."
>http://xoomer.virgilio.it/infinity77/
>_______________________________________________
>Python-win32 mailing list
>Python-win32 at python.org
>http://mail.python.org/mailman/listinfo/python-win32
>
>
>
>
Hi Andrea,
again as I told you on the wxpython ml I think it is not that easy. You
have to use Extended Mapi to do that. At least Dmitry Streblechenko, the
developer of OutlookSpy(really nice tool which uses a lot of mapi
functions) confirms that. See:
http://www.pcreview.co.uk/forums/thread-1854594.php
Regards,
Jürgen
More information about the Python-win32
mailing list