Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
NSEventFilter.DisableEvents
Disable some events.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
NSEventFilter | 2.9 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "NSEventFilter.DisableEvents"; eventMask ) More
Parameters
Parameter | Description | Example |
---|---|---|
eventMask | Which events to disable. | 0 |
Result
Returns OK on success.
Description
Disable some events.Event filtering requires macOS 10.6 or newer.
Examples
Disable scroll wheel events:
MBS( "NSEventFilter.DisableEvents"; 4194304 )
Disable all right mouse events:
MBS( "NSEventFilter.DisableEvents"; 8+16+128 )
See also
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 10th August 2020