MonobjcMonobjc Documented Class Library
NSApplicationActivationOptions Enumeration
NamespacesMonobjc.AppKitNSApplicationActivationOptions

The following flags are for activateWithOptions:.

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSApplicationActivationOptions
Public Enumeration NSApplicationActivationOptions
public enum class NSApplicationActivationOptions
Members
MemberDescription
NSApplicationActivateAllWindows

By default, activation brings only the main and key windows forward. If you specify NSApplicationActivateAllWindows, all of the application's windows are brought forward.

Available in Mac OS X v10.6 and later.


NSApplicationActivateIgnoringOtherApps

By default, activation deactivates the calling app (assuming it was active), and then the new app is activated only if there is no currently active application. This prevents the new app from stealing focus from the user, if the app is slow to activate and the user has switched to a different app in the interim. However, if you specify NSApplicationActivateIgnoringOtherApps, the application is activated regardless of the currently active app, potentially stealing focus from the user. You should rarely pass this flag because stealing key focus produces a very bad user experience.

Available in Mac OS X v10.6 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)