Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSApplicationMBS class.

NSApplicationMBS.NSApplicationActivationPolicyAccessory = 1

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the activation policy constants.

The application does not appear in the Dock and does not have a menu bar, but it may be activated programmatically or by clicking on one of its windows. This corresponds to value of the LSUIElement key in the application's Info.plist being 1.
Available in Mac OS X v10.6 and later.

NSApplicationMBS.NSApplicationActivationPolicyProhibited = 2

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the activation policy constants.

The application does not appear in the Dock and may not create windows or be activated. This corresponds to the value of the LSBackgroundOnly key in the application's Info.plist being 1. This is also the default for unbundled executables that do not have Info.plists.
Available in Mac OS X v10.6 and later.

NSApplicationMBS.NSApplicationActivationPolicyRegular = 0

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the activation policy constants.

The application is an ordinary app that appears in the Dock and may have a user interface. This is the default for bundled apps, unless overridden in the Info.plist.
Available in Mac OS X v10.6 and later.

NSApplicationMBS.NSApplicationPresentationAutoHideDock = 1

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.
Example
dim a as new NSApplicationMBS

// hide dock
a.presentationOptions = NSApplicationMBS.NSApplicationPresentationAutoHideDock

NSApplicationMBS.NSApplicationPresentationAutoHideMenuBar = 4

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationAutoHideToolbar = 2048

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

Fullscreen window toolbar is detached from window and hides/shows with autoHidden menuBar. May be used only when both NSApplicationPresentationFullScreen and NSApplicationPresentationAutoHideMenuBar are also set

Available on Mac OS X 10.7 or newer.

NSApplicationMBS.NSApplicationPresentationDefault = 0

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationDisableAppleMenu = 16

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationDisableForceQuit = 64

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationDisableHideApplication = 256

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationDisableMenuBarTransparency = 512

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationDisableProcessSwitching = 32

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationDisableSessionTermination = 128

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationFullScreen = 1024

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

Application is in fullscreen mode.
Available on Mac OS X 10.7 or newer.

NSApplicationMBS.NSApplicationPresentationHideDock = 2

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSApplicationPresentationHideMenuBar = 8

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the control constants for presentationOptions and currentSystemPresentationOptions functions.

NSApplicationMBS.NSCriticalRequest = 0

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the constants for the level of severity of a user attention request.

The user attention request is a critical request.
The dock icon will bounce until either the application becomes active or the request is canceled.

NSApplicationMBS.NSInformationalRequest = 10

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the constants for the level of severity of a user attention request.

The user attention request is an informational request.
The dock icon will bounce for one second. The request, though, remains active until either the application becomes active or the request is canceled.

NSApplicationMBS.NSRemoteNotificationTypeAlert = 4

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 12.3
One of the notification type constants.

Available in Mac OS X 10.8.

NSApplicationMBS.NSRemoteNotificationTypeBadge = 1

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the notification type constants.

NSApplicationMBS.NSRemoteNotificationTypeNone = 0

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 11.2
One of the notification type constants.

NSApplicationMBS.NSRemoteNotificationTypeSound = 2

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 12.3
One of the notification type constants.

Available in Mac OS X 10.8.

The items on this page are in the following plugins: MBS MacCocoa Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...