Platforms to show: All Mac Windows Linux Cross-Platform
CarbonWindowsEventsMBS class Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
You can use NSWindowDelegateMBS for Cocoa instead.
A class for receiving events sent to a window.
Only for Carbon target. Will not work with Cocoa windows.
- 41 events
- event GestureEnded(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer) as boolean
- event GestureMagnify(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer, MagnificationAmount as Double) as boolean
- event GestureRotate(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer, RotationAmount as Double) as boolean
- event GestureStarted(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer) as boolean
- event GestureSwipe(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer, SwipeDirectionX as Double, SwipeDirectionY as Double) as boolean
- event MouseDown(x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event MouseDragged(x as single, y as single, modifierKeys as Integer, deltax as single, deltay as single, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event MouseMoved(x as single, y as single, modifierKeys as Integer, deltax as single, deltay as single) as boolean
- event MouseUp(x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event MouseWheelMoved(modifierKeys as Integer, axis as Integer, delta as Integer) as boolean
- event WindowBoundsChanging(original as object, previous as object, current as object, flags as Integer)
- event WindowClickCloseRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClickCollapseRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClickContentRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClickDragRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClickProxyIconRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClickResizeRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClickStructureRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClickToolbarButtonRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClickZoomRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
- event WindowClose as boolean
- event WindowCloseAll as boolean
- event WindowCollapse as boolean
- event WindowCollapseAll as boolean
- event WindowCollapsed as boolean
- event WindowCollapsing as boolean
- event WindowExpand as boolean
- event WindowExpandAll as boolean
- event WindowExpanded as boolean
- event WindowExpanding as boolean
- event WindowHidden as boolean
- event WindowHiding as boolean
- event WindowRestoreFromDock as boolean
- event WindowShowing as boolean
- event WindowShown as boolean
- event WindowToolbarButtonClicked as boolean
- event WindowTransitionCompleted(TransitionAction as Integer, TransactionEffect as Integer)
- event WindowTransitionStarted(TransitionAction as Integer, TransactionEffect as Integer)
- event WindowZoom as boolean
- event WindowZoomAll as boolean
- event WindowZoomed as boolean
- 14 properties
- property Available as boolean
- property EventCount as Integer
- property Lasterror as Integer
- property MouseButton as Integer
- property MouseChord as Integer
- property MouseClickCount as Integer
- property MouseDeltaX as Single
- property MouseDeltaY as Single
- property MouseModifierKeys as Integer
- property MouseX as Single
- property MouseY as Single
- property Tablet as Boolean
- property TabletPoint as CarbonEventsTabletPointMBS
- property TabletProximity as CarbonEventsTabletProximityMBS
- 2 methods
- method Listen(win as window)
- method ListenOnWindowsHandle(windowHandle as Integer)
This class has no sub classes.
Some examples using this class:
- /MacCF/Carbon Events/Carbon Events Test
- /MacCF/Carbon Events/Tablet Window
- /MacCocoa/NSColorPanel Test
Blog Entries
- Cleanup Xojo Plugins
- MBS Xojo Plugins, version 19.4pr1
- MBS Xojo / Real Studio Plugins, version 14.0pr2
- Gestures on Mac OS X
- MBS REALbasic Plugins, version 10.6pr4
- Magic Mouse in REALbasic
Release notes
- Version 19.4
- Deprecated CarbonEventsScrapMBS, CarbonApplicationEventsMBS and CarbonWindowsEventsMBS classes.
The items on this page are in the following plugins: MBS MacCF Plugin.
CarbonSystemEventsMBS - CATextLayerMBS