Platforms to show: All Mac Windows Linux Cross-Platform

NSEventMBS constants

Constants

Constant Value Description
NSAlphaShiftKeyMask &h10000 One of the constants representing device-independent bits found in event modifier flags. Set if Caps Lock key is pressed.
NSAlternateKeyMask &h80000 One of the constants representing device-independent bits found in event modifier flags. Set if Option or Alternate key is pressed.
NSAnyEventMask &hFFFFFFFF One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSAppKitDefined 13 One of the event types.
NSAppKitDefinedMask &h2000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSApplicationActivatedEventType 1 One of the constants representing the types of events defined by the Application Kit. The application has been activated.
NSApplicationDeactivatedEventType 2 One of the constants representing the types of events defined by the Application Kit. The application has been deactivated.
NSApplicationDefined 15 One of the event types.
NSApplicationDefinedMask &h8000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSAWTEventType 16 One of the constants representing the types of events defined by the Application Kit. An event type used to support Java applications.
NSBeginFunctionKey &hF72A One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Begin key. Not on most Macintosh keyboards.
NSBreakFunctionKey &hF732 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Break key. Not on most Macintosh keyboards.
NSClearDisplayFunctionKey &hF73A One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Clear Display key. Not on most Macintosh keyboards.
NSClearLineFunctionKey &hF739 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Clear/Num Lock key.
NSCommandKeyMask &h100000 One of the constants representing device-independent bits found in event modifier flags. Set if Command key is pressed.
NSControlKeyMask &h40000 One of the constants representing device-independent bits found in event modifier flags. Set if Control key is pressed.
NSCursorPointingDevice 2 One of the constants represent pointing-device types for NSTabletProximity events or mouse events with subtype NSTabletProximityEventSubtype. The pointingDeviceType method returns one of these constants.
Represents a cursor (or puck-like) pointing device.
Available in Mac OS X v10.4 and later.
NSCursorUpdate 17 One of the event types.
NSCursorUpdateMask &h20000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSDeleteCharFunctionKey &hF73E One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Delete Character key. Not on most Macintosh keyboards.
NSDeleteFunctionKey &hF728 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Forward Delete key.
NSDeleteLineFunctionKey &hF73C One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Delete Line key. Not on most Macintosh keyboards.
NSDeviceIndependentModifierFlagsMask &hffff0000 The mask for all device indepenend modifier flags. Used to retrieve only the device-independent modifier flags, allowing applications to mask off the device-dependent modifier flags, including event coalescing information. more
NSDownArrowFunctionKey &hF701 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Down Arrow key.
NSEndFunctionKey &hF72B One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. End key.
NSEraserPointingDevice 3 One of the constants represent pointing-device types for NSTabletProximity events or mouse events with subtype NSTabletProximityEventSubtype. The pointingDeviceType method returns one of these constants.
Represents the eraser end of a stylus-like pointing device.
Available in Mac OS X v10.4 and later.
NSEventMaskBeginGesture &h80000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
Available in Mac OS X v10.6 and later.
NSEventMaskEndGesture &h100000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
Available in Mac OS X v10.6 and later.
NSEventMaskGesture &h20000000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
Available in Mac OS X v10.6 and later.
NSEventMaskMagnify &h40000000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
Available in Mac OS X v10.6 and later.
NSEventMaskRotate &h40000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
Available in Mac OS X v10.6 and later.
NSEventMaskSwipe &h80000000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
Available in Mac OS X v10.6 and later.
NSEventTypeBeginGesture 19 One of the constants for events. An event that represents a gesture beginning.
Available in Mac OS X v10.6 and later.
NSEventTypeEndGesture 20 One of the constants for events. An event that represents some type of gesture such as NSEventTypeMagnify, NSEventTypeSwipe, NSEventTypeRotate, NSEventTypeBeginGesture, or NSEventTypeEndGesture.
Available in Mac OS X v10.6 and later.
NSEventTypeGesture 29 One of the event types. An event that represents some type of gesture such as NSEventTypeMagnify, NSEventTypeSwipe, NSEventTypeRotate, NSEventTypeBeginGesture, or NSEventTypeEndGesture.
Available in Mac OS X v10.6 and later.
NSEventTypeMagnify 30 One of the event types. An event representing a pinch open or pinch close gesture.
Available in Mac OS X v10.6 and later.
NSEventTypePressure 34 One of the event types. A force touch pressure event.
NSEventTypeQuickLook 33 One of the event types. The quicklook event.
NSEventTypeRotate 18 One of the event types. An event representing a rotation gesture.
Available in Mac OS X v10.6 and later.
NSEventTypeSmartMagnify 32 One of the event types. The smart magnify event.
NSEventTypeSwipe 31 One of the event types. An event representing a swipe gesture.
Available in Mac OS X v10.6 and later.
NSExecuteFunctionKey &hF742 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Execute key. Not on most Macintosh keyboards.
NSF10FunctionKey &hF70D One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F10 key.
NSF11FunctionKey &hF70E One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F11 key.
NSF12FunctionKey &hF70F One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F12 key.
NSF13FunctionKey &hF710 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F13 key.
NSF14FunctionKey &hF711 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F14 key.
NSF15FunctionKey &hF712 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F15 key.
NSF16FunctionKey &hF713 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F16 key.
NSF17FunctionKey &hF714 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F17 key.
NSF18FunctionKey &hF715 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F18 key.
NSF19FunctionKey &hF716 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F19 key.
NSF1FunctionKey &hF704 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F1 key.
NSF20FunctionKey &hF717 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F20 key.
NSF21FunctionKey &hF718 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F21 key. Not on most Macintosh keyboards.
NSF22FunctionKey &hF719 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F22 key. Not on most Macintosh keyboards.
NSF23FunctionKey &hF71A One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F23 key. Not on most Macintosh keyboards.
NSF24FunctionKey &hF71B One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F24 key. Not on most Macintosh keyboards.
NSF25FunctionKey &hF71C One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F25 key. Not on most Macintosh keyboards.
NSF26FunctionKey &hF71D One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F26 key. Not on most Macintosh keyboards.
NSF27FunctionKey &hF71E One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F27 key. Not on most Macintosh keyboards.
NSF28FunctionKey &hF71F One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F28 key. Not on most Macintosh keyboards.
NSF29FunctionKey &hF720 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F29 key. Not on most Macintosh keyboards.
NSF2FunctionKey &hF705 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F2 key.
NSF30FunctionKey &hF721 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F30 key. Not on most Macintosh keyboards.
NSF31FunctionKey &hF722 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F31 key. Not on most Macintosh keyboards.
NSF32FunctionKey &hF723 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F32 key. Not on most Macintosh keyboards.
NSF33FunctionKey &hF724 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F33 key. Not on most Macintosh keyboards.
NSF34FunctionKey &hF725 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F34 key. Not on most Macintosh keyboards.
NSF35FunctionKey &hF726 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F35 key. Not on most Macintosh keyboards.
NSF3FunctionKey &hF706 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F3 key.
NSF4FunctionKey &hF707 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F4 key.
NSF5FunctionKey &hF708 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F5 key.
NSF6FunctionKey &hF709 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F6 key.
NSF7FunctionKey &hF70A One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F7 key.
NSF8FunctionKey &hF70B One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F8 key.
NSF9FunctionKey &hF70C One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. F9 key.
NSFindFunctionKey &hF745 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Find key. Not on most Macintosh keyboards.
NSFlagsChanged 12 One of the event types.
NSFlagsChangedMask &h1000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSFunctionKeyMask &h800000 One of the constants representing device-independent bits found in event modifier flags. Set if any function key is pressed. The function keys include the F keys at the top of most keyboards (F1, F2, and so on) and the navigation keys in the center of most keyboards (Help, Forward Delete, Home, End, Page Up, Page Down, and the arrow keys).
NSHelpFunctionKey &hF746 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Help key.
NSHelpKeyMask &h400000 One of the constants representing device-independent bits found in event modifier flags. Set if the Help key is pressed.
NSHomeFunctionKey &hF729 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Home key.
NSInsertCharFunctionKey &hF73D One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Insert Character key. Not on most Macintosh keyboards.
NSInsertFunctionKey &hF727 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Insert key. Not on most Macintosh keyboards.
NSInsertLineFunctionKey &hF73B One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Insert Line key. Not on most Macintosh keyboards.
NSKeyDown 10 One of the event types.
NSKeyDownMask &h400 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSKeyUp 11 One of the event types.
NSKeyUpMask &h800 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSLeftArrowFunctionKey &hF702 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Left Arrow key.
NSLeftMouseDown 1 One of the event types.
NSLeftMouseDownMask 2 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSLeftMouseDragged 6 One of the event types.
NSLeftMouseDraggedMask 64 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSLeftMouseUp 2 One of the event types.
NSLeftMouseUpMask 4 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSMenuFunctionKey &hF735 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Menu key. Not on most Macintosh keyboards.
NSModeSwitchFunctionKey &hF747 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Mode Switch key. Not on most Macintosh keyboards.
NSMouseEntered 8 One of the event types.
NSMouseEnteredMask &h100 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSMouseEventSubtype 0 One of the constants representing mouse-event subtypes for mouse and tablet events (accessed with the subtype method). Indicates a purely mouse event.
Available in Mac OS X v10.4 and later.
NSMouseExited 9 One of the event types.
NSMouseExitedMask &h200 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSMouseMoved 5 One of the event types.
NSMouseMovedMask 32 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSNextFunctionKey &hF740 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Next key. Not on most Macintosh keyboards.
NSNumericPadKeyMask &h200000 One of the constants representing device-independent bits found in event modifier flags. Set if any key in the numeric keypad is pressed. The numeric keypad is generally on the right side of the keyboard. This is also set if any of the arrow keys are pressed (NSUpArrowFunctionKey, NSDownArrowFunctionKey, NSLeftArrowFunctionKey, and NSRightArrowFunctionKey).
NSOtherMouseDown 25 One of the event types.
NSOtherMouseDownMask &h2000000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSOtherMouseDragged 27 One of the event types.
NSOtherMouseDraggedMask &h8000000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSOtherMouseUp 26 One of the event types.
NSOtherMouseUpMask &h4000000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSPageDownFunctionKey &hF72D One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Page Down key.
NSPageUpFunctionKey &hF72C One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Page Up key.
NSPauseFunctionKey &hF730 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Pause key. Not on most Macintosh keyboards.
NSPenLowerSideMask 2 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSPenPointingDevice 1 One of the constants represent pointing-device types for NSTabletProximity events or mouse events with subtype NSTabletProximityEventSubtype. The pointingDeviceType method returns one of these constants.
Represents the tip end of a stylus-like pointing device.
Available in Mac OS X v10.4 and later.
NSPenTipMask 1 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSPenUpperSideMask 4 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSPeriodic 16 One of the event types.
NSPeriodicMask &h10000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSPowerOffEventType 1 This constant denotes that the user is turning off the computer. Specifies that the user is turning off the computer.
NSPrevFunctionKey &hF73F One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Previous key. Not on most Macintosh keyboards.
NSPrintFunctionKey &hF738 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Print key. Not on most Macintosh keyboards.
NSPrintScreenFunctionKey &hF72E One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Print Screen key. Not on most Macintosh keyboards.
NSRedoFunctionKey &hF744 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Redo key. Not on most Macintosh keyboards.
NSResetFunctionKey &hF733 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Reset key. Not on most Macintosh keyboards.
NSRightArrowFunctionKey &hF703 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Right Arrow key.
NSRightMouseDown 3 One of the event types.
NSRightMouseDownMask 8 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSRightMouseDragged 7 One of the event types.
NSRightMouseDraggedMask 128 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSRightMouseUp 4 One of the event types.
NSRightMouseUpMask 16 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSScreenChangedEventType 8 One of the constants representing the types of events defined by the Application Kit. An NSWindow has changed screens.
NSScrollLockFunctionKey &hF72F One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Scroll Lock key. Not on most Macintosh keyboards.
NSScrollWheel 22 One of the event types.
NSScrollWheelMask &h400000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSSelectFunctionKey &hF741 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Select key. Not on most Macintosh keyboards.
NSShiftKeyMask &h20000 One of the constants representing device-independent bits found in event modifier flags. Set if Shift key is pressed.
NSStopFunctionKey &hF734 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Stop key. Not on most Macintosh keyboards.
NSSysReqFunctionKey &hF731 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. System Request key. Not on most Macintosh keyboards.
NSSystemDefined 14 One of the event types.
NSSystemDefinedMask &h4000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSSystemFunctionKey &hF737 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. System key. Not on most Macintosh keyboards.
NSTabletPoint 23 One of the event types.
NSTabletPointEventSubtype 1 One of the constants representing mouse-event subtypes for mouse and tablet events (accessed with the subtype method). Indicates a tablet-pointer event; see description of NSTabletPoint.
Available in Mac OS X v10.4 and later.
NSTabletPointMask &h800000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
NSTabletProximity 24 One of the event types.
NSTabletProximityEventSubtype 2 One of the constants representing mouse-event subtypes for mouse and tablet events (accessed with the subtype method). Indicates a tablet-proximity event; see description of NSTabletProximity.
Available in Mac OS X v10.4 and later.
NSTabletProximityMask &h1000000 One of the constants for masks for the events. Pass them to the NSCell method sendActionOn to specify when an NSCell should send its action message.
Available in Mac OS X v10.4 and later.
NSTouchEventSubtype 3 One of the constants representing mouse-event subtypes for mouse and tablet events (accessed with the subtype method). Indicates a touch event subtype.
Available in Mac OS X v10.6 and later.
NSUndoFunctionKey &hF743 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Undo key. Not on most Macintosh keyboards.
NSUnknownPointingDevice 0 One of the constants represent pointing-device types for NSTabletProximity events or mouse events with subtype NSTabletProximityEventSubtype. The pointingDeviceType method returns one of these constants.
Represents an unknown type of pointing device.
Available in Mac OS X v10.4 and later.
NSUpArrowFunctionKey &hF700 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Up Arrow key.
NSUserFunctionKey &hF736 One of the constants representing Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. User key. Not on most Macintosh keyboards.
NSWindowExposedEventType 0 One of the constants representing the types of events defined by the Application Kit. A non-retained NSWindow has been exposed.
NSWindowMovedEventType 4 One of the constants representing the types of events defined by the Application Kit. An NSWindow has moved.

The biggest plugin in space...