What kind of events are you interested in? Are you using an embedded
version or the activeX component?

Callum Prentice wrote:
> I would like to observe events in nsWindow.cpp from the body of my 
> application so that when a method
> in nsWindow is called, my application can retrieve some (integer) values.
>
> nsWindow::DispatchEvent(...) looks like it might do what I need (via a helper 
> method) but I don't
> know how to 'catch' events that it emits in my application.
>
> Does anyone know if this would be suitable and if so, what code I add to my 
> application so that I
> see events it emits.
>
> I also spent some time looking into nsIObserverService but it seemed like 
> that would require more
> changes to nsWindow.cpp.
> 
> Cheers.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to