Platforms to show: All Mac Windows Linux Cross-Platform

Back to CarbonWindowsEventsMBS class.

CarbonWindowsEventsMBS.WindowBoundsChanging(original as object, previous as object, current as object, flags as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window changes its bounds.

You may need to cast the objects to IntegerRectMBS objects.

Some examples using this event:

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the close button area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the collapse button area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the content area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the drag area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the proxy icon area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the resize widget area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the window structure area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the toolbar button area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.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

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 11.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is called when the zoom button area of the window was clicked.

ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

CarbonWindowsEventsMBS.WindowClose as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window should close.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowCloseAll as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever all windows should close.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowCollapse as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called when the window is going to collapse.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowCollapseAll as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called when all windows are going to collapse.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowCollapsed as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window is collapsed.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowCollapsing as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called while the window is collapsing.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowExpand as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window should expand.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowExpandAll as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever all windows should expand.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowExpanded as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window is expanded.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowExpanding as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called while the window is expanding.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowHidden as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window is hidden.

Return false to run the default handler.
Return true to tell the system that you handled this event.

CarbonWindowsEventsMBS.WindowHiding as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called while the window is hiding.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowRestoreFromDock as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called when the minimized window is clicked to be restored.

Return true to block this or return false to allow the restore to go on.

Some examples using this event:

CarbonWindowsEventsMBS.WindowShowing as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called while the window is showing.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowShown as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window is shown.

Return false to run the default handler.
Return true to tell the system that you handled this event.

CarbonWindowsEventsMBS.WindowToolbarButtonClicked as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the toolbar button is pressed.

Return true to tell the system that you handled this event. Else you may get this event two tims on a metal window. (Boolean result added in plugin version 4.1)

Some examples using this event:

CarbonWindowsEventsMBS.WindowTransitionCompleted(TransitionAction as Integer, TransactionEffect as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 6.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called when a window transition completed.

CarbonWindowsEventsMBS.WindowTransitionStarted(TransitionAction as Integer, TransactionEffect as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 6.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called when a window transition started.

CarbonWindowsEventsMBS.WindowZoom as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window should zoom.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowZoomAll as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever all windows should zoom.

Return false to run the default handler.
Return true to tell the system that you handled this event.

Some examples using this event:

CarbonWindowsEventsMBS.WindowZoomed as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Carbon Events MBS MacCF Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called whenever the window was zoomed.

Return false to run the default handler.
Return true to tell the system that you handled this event.

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


The biggest plugin in space...