NPAPI:CocoaEventModel: Difference between revisions

Jump to navigation Jump to search
Line 162: Line 162:
== Focus events ==
== Focus events ==


NPCocoaEventFocusChanged - Fired when the plug-in gains or loses focus.
* NPCocoaEventFocusChanged - Fired when the plug-in gains or loses focus.
NPCocoaEventWindowFocusChanged - Fired when the plug-in window gains or loses focus.
* NPCocoaEventWindowFocusChanged - Fired when the plug-in window gains or loses focus.
 
NPBool hasFocus;


NPBool hasFocus;
TRUE if the plug-in or window now has focus, FALSE otherwise.
TRUE if the plug-in or window now has focus, FALSE otherwise.


Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu