On 1/24/12 6:45 AM, jaitirth shirole wrote:
> In our NPAPI plug-in, we get some keystrokes when in focus, but
> certain browser specific key strokes e.g. Ctrl+T, Ctrl+B (and others),
> we want to pass on to the browser window.
> Posting the key messages to top level browser window doesn't seem to
> help :(
Is this a windowed or windowless plugin?
Windowless plugin mode is preferred in all cases, and I strongly suggest
that you switch to windowless mode if possible.
In windowless mode, you think you should simply return false from
NPP_HandleEvent for the key events which you are not relevant to your
plugin... I recommend doing this for all Ctrl-Key events which you
aren't specifically trying to use.
--BDS