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

Next items

NSWindowMBS.contentRectForFrameRect(windowFrame as NSRectMBS, styleMask as UInt32) as NSRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Returns the content rectangle used by a window with a given frame rectangle and window style.
Notes:
windowFrame: The frame rectangle for the window expressed in screen coordinates.
windowStyle: The window style for the window. See constants for a list of style mask values.

Returns the content rectangle, expressed in screen coordinates, used by the window with windowFrame and windowStyle.
When a NSWindowMBS instance is available, you should use contentRectForFrameRect instead of this method.

See also:

Feedback, Comments & Corrections

NSWindowMBS.frameRectForContentRect(windowContentRect as NSRectMBS, styleMask as UInt32) as NSRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Returns the frame rectangle used by a window with a given content rectangle and window style.
Notes:
windowContentRect: The content rectangle for a window expressed in screen coordinates.
windowStyle: The window style for the window. See Window Style Mask constants for a list of style mask values.

Returns the frame rectangle, expressed in screen coordinates, used by the window with windowContentRect and windowStyle.
When a NSWindowMBS instance is available, you should use frameRectForContentRect instead of this method.

See also:

Feedback, Comments & Corrections

NSWindowMBS.minFrameWidthWithTitle(WindowTitle as string, styleMask as UInt32) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Returns the minimum width a window's frame rectangle must have for it to display a title, with a given window style.
Example:
// shows 84.77588
MsgBox str(NSWindowMBS.minFrameWidthWithTitle("Hello World",0))
Notes:
windowTitle: The title for the window.
windowStyle: The window style for the window. See Window Style Mask constants for a list of style mask values.

The minimum width of the window's frame, using windowStyle, in order to display windowTitle.

Feedback, Comments & Corrections

NSWindowMBS.NSDockWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: The level for the doc. (Deprecated. There is no replacement.)

Feedback, Comments & Corrections

NSWindowMBS.NSFloatingWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: Useful for floating palettes.

Feedback, Comments & Corrections

NSWindowMBS.NSMainMenuWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: Reserved for the application's main menu.

Feedback, Comments & Corrections

NSWindowMBS.NSModalPanelWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: The level for a modal panel.

Feedback, Comments & Corrections

NSWindowMBS.NSNormalWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: The default level for NSWindow objects.

Feedback, Comments & Corrections

NSWindowMBS.NSPopUpMenuWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: The level for a pop-up menu.

Feedback, Comments & Corrections

NSWindowMBS.NSScreenSaverWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: The level for a screen saver.

Feedback, Comments & Corrections

NSWindowMBS.NSStatusWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: The level for a status window.

Feedback, Comments & Corrections

NSWindowMBS.NSSubmenuWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: Reserved for submenus. Synonymous with NSTornOffMenuWindowLevel, which is preferred.

Feedback, Comments & Corrections

NSWindowMBS.NSTornOffMenuWindowLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 12.3 Yes No No Yes, macOS only No
Function: One of the standard window levels in Mac OS X.
Notes: The level for a torn-off menu. Synonymous with NSSubmenuWindowLevel.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidBecomeKeyNotification 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 becomes the key window.

The notification object is the NSWindow object that has become key. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidBecomeMainNotification 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 becomes the main window.

The notification object is the NSWindow object that has become main. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidChangeScreenNotification 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 a portion of an NSWindow object's frame moves onto or off of a screen.

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

This notification is not sent in Mac OS X versions earlier than 10.4.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidChangeScreenProfileNotification 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 the display profile for the screen containing the window changes.

This notification is sent only if the window returns true from displaysWhenScreenProfileChanges. This notification may be sent when a majority of the window is moved to a different screen (whose profile is also different from the previous screen) or when the ColorSync profile for the current screen changes.

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

Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidDeminiaturizeNotification 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 deminimized.

The notification object is the NSWindow object that has been deminimized. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidEndLiveResizeNotification 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 after 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 was resized. This notification does not contain a userInfo dictionary.

Available in Mac OS X v10.6 and later.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidEndSheetNotification 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 closes an attached sheet.

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

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidEnterFullScreenNotification 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 entered full screen mode.
The notification object is the NSWindow object entered full screen mode. This notification does not contain a userInfo dictionary.

Available in Mac OS X v10.7 and later.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidEnterVersionBrowserNotification 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.NSWindowDidExitFullScreenNotification 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.NSWindowDidExitVersionBrowserNotification 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 did exit version browser mode.
The notification object is the NSWindow object that did 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.NSWindowDidExposeNotification 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 a portion of a nonretained NSWindow object is exposed, whether by being ordered in front of other windows or by other windows being removed from in front of it.

The notification object is the NSWindow object that has been exposed. The userInfo dictionary contains the following information:

KeyValue
NSExposedRectThe rectangle that has been exposed (NSRect).

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidMiniaturizeNotification 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 minimized.

The notification object is the NSWindow object that has been minimized. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidMoveNotification 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 moved.

The notification object is the NSWindow object that has moved. This notification does not contain a userInfo dictionary.

Note: This notification is sent when the window that moved didn't also change size. See NSWindowDidResizeNotification for more information.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidResignKeyNotification 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 resigns its status as key window.

The notification object is the NSWindow object that has resigned its key window status. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

NSWindowMBS.NSWindowDidResignMainNotification 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 resigns its status as main window.

The notification object is the NSWindow object that has resigned its main window status. This notification does not contain a userInfo dictionary.

Feedback, Comments & Corrections

Next items

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




Links
MBS FileMaker tutorial videos