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
  • 2 methods

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


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


CarbonSystemEventsMBS   -   CATextLayerMBS


The biggest plugin in space...