These constants are masks for the events defined in “Event Types.” Pass them to the NSCell method sendActionOn: to specify when an NSCell should send its action message.
Available in Mac OS X v10.0 and later.
| C# | Visual Basic | Visual C++ |
[FlagsAttribute] public enum NSEventMask
<FlagsAttribute> _ Public Enumeration NSEventMask
[FlagsAttribute] public enum class NSEventMask
| Member | Description |
|---|---|
| NSLeftMouseDownMask | Corresponds to NSLeftMouseDown. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSLeftMouseUpMask | Corresponds to NSLeftMouseUp. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSRightMouseDownMask | Corresponds to NSRightMouseDown. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSRightMouseUpMask | Corresponds to NSRightMouseUp. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSMouseMovedMask | Corresponds to NSMouseMoved. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSLeftMouseDraggedMask | Corresponds to NSLeftMouseDragged. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSRightMouseDraggedMask | Corresponds to NSRightMouseDragged. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSMouseEnteredMask | Corresponds to NSMouseEntered. See See “Mouse-Tracking and Cursor-Update Events” in Cocoa Event-Handling Guide.. Available in Mac OS X v10.0 and later. |
| NSMouseExitedMask | Corresponds to NSMouseExited. See See “Mouse-Tracking and Cursor-Update Events” in Cocoa Event-Handling Guide.. Available in Mac OS X v10.0 and later. |
| NSKeyDownMask | Corresponds to NSKeyDown. See “Handling Key Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSKeyUpMask | Corresponds to NSKeyUp. See “Handling Key Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSFlagsChangedMask | Corresponds to NSFlagsChanged. See “Handling Key Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSAppKitDefinedMask | Corresponds to NSAppKitDefined. See “Event Objects and Types” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSSystemDefinedMask | Corresponds to NSSystemDefined. See “Event Objects and Types” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSApplicationDefinedMask | Corresponds to NSApplicationDefined. See “Event Objects and Types” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSPeriodicMask | Corresponds to NSPeriodic. See “Event Objects and Types” in Cocoa Event-Handling Guide. Available in Mac OS X v10.0 and later. |
| NSCursorUpdateMask | Corresponds to NSCursorUpdate. See See “Mouse-Tracking and Cursor-Update Events” in Cocoa Event-Handling Guide.. Available in Mac OS X v10.0 and later. |
| NSScrollWheelMask | Corresponds to NSScrollWheel. See “Handling Mouse Events” in Cocoa Event-Handling Guide.. Available in Mac OS X v10.0 and later. |
| NSTabletPointMask | Corresponds to NSTabletPoint. Available in Mac OS X v10.4 and later. |
| NSTabletProximityMask | Corresponds to NSTabletProximity. Available in Mac OS X v10.4 and later. |
| NSOtherMouseDownMask | Corresponds to NSOtherMouseDown. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.1 and later. |
| NSOtherMouseUpMask | Corresponds to NSOtherMouseUp. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.1 and later. |
| NSOtherMouseDraggedMask | Corresponds to NSOtherMouseDragged. See “Handling Mouse Events” in Cocoa Event-Handling Guide. Available in Mac OS X v10.1 and later. |
| NSEventMaskGesture | Corresponds to NSEventTypeGesture. Available in Mac OS X v10.6 and later. |
| NSEventMaskMagnify | Corresponds to NSEventTypeMagnify. Available in Mac OS X v10.6 and later. |
| NSEventMaskSwipe | Corresponds to NSEventTypeSwipe. Available in Mac OS X v10.6 and later. |
| NSEventMaskRotate | Corresponds to NSEventTypeRotate. Available in Mac OS X v10.6 and later. |
| NSEventMaskBeginGesture | Corresponds to NSEventTypeBeginGesture. Available in Mac OS X v10.6 and later. |
| NSEventMaskEndGesture | Corresponds to NSEventTypeEndGesture. Available in Mac OS X v10.6 and later. |
| NSAnyEventMask | Corresponds to any event mask. Available in Mac OS X v10.0 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)