If you're running the script from python.exe, you'll need to run a message loop (pythoncom.PumpMessages()) to receive events. You don't need that in Pythonwin since it runs its own message loop.
Also, are you sure the event class should be attached to the button itself ? I'm not familiar with this application, but normally the top level COM object receives the events. Roger _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32