Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSWindowMBS.NSWindowDidResizeNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 10.3 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted whenever an NSWindow object's size changes.

The notification object is the NSWindow object whose size has changed. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidUpdateNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 10.3 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted whenever an NSWindow object receives an update message.

The notification object is the NSWindow object that received the update message. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillBeginSheetNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 10.3 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted whenever an NSWindow object is about to open a sheet.

The notification object is the NSWindow object that is about to open the sheet. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillCloseNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 10.3 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted whenever an NSWindow object is about to close.

The notification object is the NSWindow object that is about to close. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillEnterFullScreenNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted when the window will enter full screen mode.
The notification object is the NSWindow object will enter full screen mode. This notification does not contain a userInfo dictionary.

Available in Mac OS X v10.7 and later.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillEnterVersionBrowserNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted when the window will enter version browser mode.
The notification object is the NSWindow object that will enter version browser mode. This notification does not contain a userInfo dictionary.
Available in Mac OS X v10.7 and later.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillExitFullScreenNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted when the window will exit full screen mode.
The notification object is the NSWindow object that will exit full screen mode. This notification does not contain a userInfo dictionary.

Available in Mac OS X v10.7 and later.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillExitVersionBrowserNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted when the window will exit version browser mode.
The notification object is the NSWindow object that will exit version browser mode. This notification does not contain a userInfo dictionary.

Available in Mac OS X v10.7 and later.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillMiniaturizeNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 10.3 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted whenever an NSWindow object is about to be minimized.

The notification object is the NSWindow object that is about to be minimized. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillMoveNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 10.3 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted whenever an NSWindow object is about to move.

The notification object is the NSWindow object that is about to move. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowWillStartLiveResizeNotification as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 10.3 Yes No No Yes, macOS only No
Function: One of the notification strings you can use with the NSNotification* classes.
Notes:
Posted before the user resizes a window.
This notification is sent only once for a series of window resize operations.
The notification object is the NSWindow object that is about to be live resized. This notification does not contain a userInfo dictionary.
Available in Mac OS X v10.6 and later.

Feedback, Comments & Corrections

NSWindowMBS.removeFrameUsingName(name as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 15.2 Yes No No Yes, macOS only No
Function: Removes the frame data stored under a given name from the application's user defaults.

Feedback, Comments & Corrections

NSWindowMBS.standardWindowButton(button as Integer, StyleMask as Integer) as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.1 Yes No No Yes, macOS only No
Function: Returns a new instance of a given standard window button, sized appropriately for a given window style.
Notes:
button: The kind of standard window button to return.
StyleMask: The window style for which windowButtonKind is to be sized. See "Window Style Masks" for the list of allowable values.

Returns the new window button of the kind identified by windowButtonKind; nil when no such button kind exists.

The caller is responsible for adding the button to the view hierarchy and for setting the target to be the window.

Declared as Variant for reduced plugin dependencies.
Button constants: NSWindowCloseButton, NSWindowDocumentIconButton, NSWindowMiniaturizeButton, NSWindowToolbarButton and NSWindowZoomButton

See also:

Feedback, Comments & Corrections

NSWindowMBS.windowNumberAtPoint(x as Double, y as Double, belowWindowWithWindowNumber as Integer = 0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 13.0 Yes No No Yes, macOS only No
Function: Returns the number of the frontmost window that would be hit by a mouseDown at the screen location point.
Notes:
belowWindowWithWindowNumber can be specified to exclude a given window along with all windows above it, and may belong to any application. If no windows are to be excluded, specify 0 for belowWindowWithWindowNumber. The windowNumber returned may correspond to a window in another application.
Requires Mac OS X 10.6 or newer.

Feedback, Comments & Corrections

NSWindowMBS.windowNumbersWithOptions(options as Integer = 0) as Integer()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 13.0 Yes No No Yes, macOS only No
Function: Returns an array of integers containing windowNumbers for all visible windows satisfying options.
Example:
dim windowNumbers1() as Integer
dim windowNumbers2() as Integer
dim windowNumbers3() as Integer

// To get an array of windowNumbers visible on the current space and belonging to the calling application:
windowNumbers1 = NSWindowMBS.windowNumbersWithOptions(0)
// To get an array of windowNumbers visible on any space and belonging to any application:
windowNumbers2 = NSWindowMBS.windowNumbersWithOptions(NSWindowMBS.NSWindowNumberListAllApplications+NSWindowMBS.NSWindowNumberListAllSpaces)
// To get an array of windowNumbers visible on any space and belonging to the calling application:
windowNumbers3 = NSWindowMBS.windowNumbersWithOptions(NSWindowMBS.NSWindowNumberListAllSpaces)
Notes: In no options are specified, only visible windows belonging to the calling application and on the active space are included. If options include NSWindowNumberListAllApplications, visible windows belonging to all applications are included. If options include NSWindowNumberListAllSpaces, visible windows on all spaces are included.

Feedback, Comments & Corrections

Previous items

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




Links
MBS FileMaker blog