[python-win32] Event return values

Peter Parente parente at cs.unc.edu
Thu Jul 31 13:28:05 EDT 2003


Hi,

How do return values in COM events work in win32com? I'm handling events 
for an Internet Explorer WebBrowser control. According to the doc, to 
prevent events from being handled by the control after my event handler 
has fired, I must return a variant value of false from the event 
handler. Is there a way to do this or is the function that called my 
event handler automatically passing back some default value to the control?

Thanks for any help,
Pete




More information about the Python-win32 mailing list