Re: Capturing key and mouse events in FF8 and later

"Manfred Haertel, DB3HM" <[email protected]> Wed, 28 Dec 2011 19:24:44 +0100
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
Martin Lutken wrote:

> I have been using the nsIDOMKeyListener, nsIDOMMouseListener and
> nsIDOMUIListener but they seem to have been removed as of FF8 version
> 8.
> I would like to know how to get register callbacks for Key and Mouse
> events now the above interfaces are gone.

I think the correct way is to implement the listener using the 
nsIDOMEventListener interface and to handle the keyboard and mouse 
events in the HandleEvent() method.

-- 
Manfred Härtel, DB3HM    mailto:[email protected]
                          http://rz-home.de/mhaertel