Events in win32com

Mark Hammond MarkH at ActiveState.com
Wed Dec 20 02:11:29 CET 2000


Paul Moore wrote:

> After scanning Deja, I found an article describing DispatchWithEvents.
> The example in the documentation (OnVisible) works fine. But the
> OnQuit event doesn't seem to work :-( Basically, the event routine is
> never fired. Is this because the event routine has a ByRef "Cancel"
> parameter? Or is it something else?

OnQuit works for me.  test\testMSOfficeEvents.py traps this.

Mark.




More information about the Python-list mailing list