Events in win32com

Mark Hammond MarkH at ActiveState.com
Tue Dec 19 20:11:29 EST 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