Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Overlay.SetIgnoresMouseEvents

Sets whether the window ignores mouse clicks.

Component Version macOS Windows Linux Server iOS SDK
Overlay 14.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Overlay.SetIgnoresMouseEvents"; OverlayRef; Value )   More

Parameters

Parameter Description Example
OverlayRef The overlay window reference number. $overlay
Value The new setting.
Pass 1 to ignore mouse events.
0

Result

Returns OK or error.

Description

Sets whether the window ignores mouse clicks.
If enabled, the mouse clicks fall through to whatever is behind the window.

Examples

Sets window to be ignore mouse events:

Set Variable [ $r ; Value: MBS("Overlay.SetIgnoresMouseEvents"; $overlay; 1) ]

See also

Example Databases

Created 22nd January 2024, last changed 24th January 2024


Overlay.SetHasShadow - Overlay.SetImage