Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
| 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; | |||
TRUE if the plug-in or window now has focus, FALSE otherwise. | TRUE if the plug-in or window now has focus, FALSE otherwise. | ||