Page 1 of 1

help:can not get key value when focus on plugin

Posted: 11 Jan 2006 11:42
by terence_zh
hi,friends:
I get a problem when use firefox(1.0.7) with vlc plugin.I want to get key value when I move mouse's cursor to area of vlc plugin. However,I find "onkeypress" is not active whatever I press keybord.When I move mouse's cursor out of vlc plugin "onkeypress" is ok.I can get key value.
who can tell me how to get key value of browser although focus in on area of plugin.
thanks a lot!!!

Posted: 11 Jan 2006 17:31
by TaskyZZ
I had this same problem using the ActiveX COntrol and I ended up having to hook the keyboard. I do not know how to solve it in a browser, sorry.

Posted: 17 Jan 2006 13:00
by terence_zh
hi:
I really needs help about this issue.
In my opinion,when foucus is on the vlc plugin area,all event of keypress is hook by plugin first.And broswer is on the second priority. Is it right?
Now I would like to know how to construct a bridge between broswer and plugin.Then plugin can transfer this key event received to browser.
Any suggestion? Thanks a lot!