Hello Everyone

 

I am using the New Gecko API sample on Win32 and I'd like to know how I can
:

 

1.      Send an event from JavaScript similar to the IE code: external.Event
( eventName, param1, param2, . )
2.      Catch this event and handle it in the C++ code. 

 

I assume that these events are DOM events and will be handled in the class
DOMEventListener , derived from nsIDOMEventListener however it didn't work
so far. 

But I stil do not know how I can send an event of my own. 

 

Thank you for all your help since I'm a total noob regarding Gecko embedding
and JavaScript.  

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

Reply via email to