Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
| 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 | 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. | ||