Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGEventMBS class.

CGEventMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics Events MBS MacCF Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor taking a CGEventRef value.

The object is retained and should not be zero.

CGEventMBS.Copy as CGEventMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics Events MBS MacCF Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Return a copy of event.

CGEventMBS.DoubleValueField(field as Integer) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics Events MBS MacCF Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The floating-point value of a field in an event.

Before setting a value, the event type must be set using a typed event creation function such as CGEventCreateMouseEvent, or by setting type property.

If you are creating a mouse event generated by a tablet, call this function and specify the field kCGMouseEventSubtype with a value of kCGEventMouseSubtypeTabletPoint or kCGEventMouseSubtypeTabletProximity before setting other parameters.
(Read and Write computed property)

CGEventMBS.IntegerValueField(field as Integer) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics Events MBS MacCF Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The integer value of a field in an event.

Before calling this function, the event type must be set using a typed event creation function such as CGEventCreateMouseEvent, or by setting type property.

In cases where the field value is represented within the event by a fixed point number or an integer, the result is scaled to the appropriate range as part of creating the floating-point representation.
(Read and Write computed property)

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


The biggest plugin in space...