[python-win32] How to have Excel use a Python callback function

2006-07-19 Thread guy lateur
Hi all,   I'm trying to extend the RMB popup menu in Excel to let the user easily select the project she's working on. The construction of the (hierarchical) menu is written in a Python COM server. This server is used by some VBA code in the paricular workbook (a 'timesheet'), in the Workb

[python-win32] Events in the same object

2006-07-19 Thread Rodrigo Strauss
I need to receive events from a COM object, but using the same object that's using it (!?), because I need to maintain some state about the events. Actually, after calling the Connect method from COM obj, it will fire the onConnected event after the connection is done. I can call Login method only