NPAPI:AdvancedKeyHandling: Difference between revisions

Jump to navigation Jump to search
Line 411: Line 411:
</pre>
</pre>


For windowless plugins, returning 0 from NPP_HandleEvent will allow the browser to handle the event. For example, returning 0 for a tab key event will allow the browser to process the tab key event, and the browser may choose to take focus from the plugin. (XXXJOSH see question #1)
For windowless plugins, returning 0 from NPP_HandleEvent will allow the browser to handle the event. For example, returning 0 for a tab key event will allow the browser to process the tab key event, and the browser may choose to take focus from the plugin.


For both windowed and windowless plugins, there will be 3 function and a set of enum values controlling focus.
For both windowed and windowless plugins, there will be 3 function and a set of enum values controlling focus.
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu