Platforms to show: All Mac Windows Linux Cross-Platform

Back to DesktopWindow class.

DesktopWindow.MakeTransparentMBS as integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Window MBS Util Plugin 21.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Installs transparency support to a Xojo window.
Example
dim p as Integer // property on Windows

p = window1.MakeTransparentMBS

// later in close event

window1.CleanUpTransparentMBS p

Will return non zero value if successfull.
The window doesn't change if you don't use the CGContextMBS property.

Requires Mac OS X, Windows 2000 or Windows XP to work. The window must be a document window.

Set MacProcID of the window to 1104 and you can make it transparent without a title bar. (on Mac OS X)

With plugin version 11.1, we now return a value which should store with the window. Later in the Close event, you call CleanUpTransparentMBS passing this value.

Added Cocoa support in 11.3 plugins.
Linux supported added with 14.0, but works only with Linux desktop which support alpha channel. Calls to MakeTransparentMBS and CleanUpTransparentMBS are not required for Linux.

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


The biggest plugin in space...