First, you create a class that implements the event methods as detailed in the comments. Then you use win32com.client.DispatchWithEvents to create the object and hook the events to your class.
hth
Roger
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
