Platforms to show: All Mac Windows Linux Cross-Platform
Back to OverlayMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
0 is invisible and 1.0 is visible.
(Read and Write property)
OverlayMBS.AutoCaptureMouse as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 9.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
If you return true from MouseDown the mouse is catched. This way you can get the drag events even if the mouse moves out of the window.
On MouseUp the mouse is released.
(Read and Write property)
OverlayMBS.CurrentImage as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
For debugging only.
CGImageMBS or NSImageMBS depending on what you set.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Using Resize method is more efficient than assigning width and height properties.
(Read and Write property)
OverlayMBS.IgnoreMouseClicks as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.7 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
In Mac OS X 10.7 and newer setting IgnoreMouseClicks = false does not give the same behavior as without setting this property before.
Implemented for windows in v24.1.
(Read and Write property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Using Move method is more efficient than assigning left and top properties.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
You need to create and assign your own image.
If you assign nil for the mask, the plugin uses the mask or alpha channel of the picture.
For proper support of high resolutions, the pictures used here may need to be 2x or 3x times the window size.
(Read and Write property)
OverlayMBS.MovableByWindowBackground as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 24.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
The value of this property is true when the window is movable by clicking and dragging anywhere in its background; otherwise, false.
Works on macOS and Windows.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Value is a NSViewMBS. We use variant to reduce dependency to other plugins.
(Read only property)
OverlayMBS.NSWindow as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Only for the Cocoa target in Xojo.
(Read only property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
You need to provide your own picture here.
Pict and Mask pictures must have the same size.
Alpha Channel Pictures are not really supported.
But for Mac OS X an alpha channel picture does currently work.
For proper support of high resolutions, the pictures used here may need to be 2x or 3x times the window size.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Using Move method is more efficient than assigning left and top properties.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
True if visible, false if hidden.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Using Resize method is more efficient than assigning width and height properties.
(Read and Write property)
OverlayMBS.WindowHandle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 8.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
On Mac OS a WindowRef and on Windows a HWND.
(Read only property)
OverlayMBS.WindowID as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 10.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns 0 on any error.
This ID can be used for CGWindowListCreateImageMBS.
(Read only property)
Some examples using this property:
OverlayMBS.WindowsClassName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Overlay Plugin | 18.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
(Read only property)
The items on this page are in the following plugins: MBS Overlay Plugin.