Adding anevent handler breaks bubbling
- From: bernd@xxxxxxxxxxxxxxxx (Bernd)
- Date: 24 Apr 2005 07:01:27 -0700
Hi,
I added my own event handler to IHTMLElements to catch mouseover and
mouseout events. Receiving the events works well. But the bubble chain
is broken, so for example no JavaScript
onmouseover-/onmouseout-handlers are called. Inside the event handler
I can get the eventObject from the window interface but neither
setting the return value by
eventObj->put_returnValue(TVariant(true/false)) nor setting the bubble
by eventObj->put_cancelBubble(VARIANT_FALSE) has an effect.
With onerror and onmousedown events the things work fine.
Any tips how to get it working are welcome.
Thanks
Bernd
.
- Prev by Date: Re: How to ensure that web page is loaded completely?
- Next by Date: Re: IE Toolbar
- Previous by thread: Custom print preview and GetOptionKeyPath/GetOverrideKeyPath
- Next by thread: Finding URL under mouse
- Index(es):