NPAPI:AdvancedKeyHandling: Difference between revisions

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


For windowless plugins, returning 0 from <tt>NPP_HandleEvent</tt> will allow the browser to handle the event. The browser will consider the event to have been handled by the plugin for any return value greater than 0.
For windowless plugins, returning 0 from <tt>NPP_HandleEvent</tt> will allow the browser to handle the event. The browser will consider a return value of 1 to mean that the event has been handled by 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