Platforms to show: All Mac Windows Linux Cross-Platform

WinPointerInfoMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for pointer input details.

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Constants

Constant Value Description
kPointerChangeFifthButtonDown 9 The fifth button transitioned to a pressed state.
kPointerChangeFifthButtonUp 10 The fifth button transitioned to a released state.
kPointerChangeFirstButtonDown 1 The first button transitioned to a pressed state.
kPointerChangeFirstButtonUp 2 The first button transitioned to a released state.
kPointerChangeFourthButtonDown 7 The fourth button transitioned to a pressed state.
kPointerChangeFourthButtonUp 8 The fourth button transitioned to a released state.
kPointerChangeNone 0 No change in button state.
kPointerChangeSecondButtonDown 3 The second button transitioned to a pressed state.
kPointerChangeSecondButtonUp 4 The second button transitioned to a released state.
kPointerChangeThirdButtonDown 5 The third button transitioned to a pressed state.
kPointerChangeThirdButtonUp 6 The third button transitioned to a released state.

Flag Constants

Constant Value Description
kFlagCanceled &h8000 Indicates that the pointer is departing in an abnormal manner, such as when the system receives invalid input for the pointer or when a device with active pointers departs abruptly. If the application receiving the input is in a position to do so, it should treat the interaction as not completed and reverse any effects of the concerned pointer.
kFlagCaptureChanged &h200000 Indicates that this pointer was captured by (associated with) another element and the original element has lost capture.
kFlagConfidence &h4000 Confidence is a suggestion from the source device about whether the pointer represents an intended or accidental interaction, which is especially relevant for touch pointers where an accidental interaction (such as with the palm of the hand) can trigger input. The presence of this flag indicates that the source device has high confidence that this input is part of an intended interaction.
kFlagDown &h10000 Indicates that this pointer transitioned to a down state; that is, it made contact with the digitizer surface.
kFlagFifthButton &h100 Analogous to a second extended mouse (XButton2) button down. more
kFlagFirstButton &h10 Indicates a primary action, analogous to a left mouse button down. more
kFlagFourthButton &h80 Analogous to a first extended mouse (XButton1) button down. more
kFlagHasTransform &h400000 Indicates that this pointer has an associated transform.
kFlagHWheel &h100000 Indicates input associated with a pointer h-wheel. For mouse pointers, this is equivalent to the action of the mouse horizontal scroll wheel.
kFlagInContact 4 Indicates that this pointer is in contact with the digitizer surface.
When this flag is not set, it indicates a hovering pointer.
kFlagInRange 2 Indicates that this pointer continues to exist. When this flag is not set, it indicates the pointer has left detection range. more
kFlagNew 1 Indicates the arrival of a new pointer.
kFlagNone 0 Default
kFlagPrimary &h2000 Indicates that this pointer has been designated as the primary pointer. A primary pointer is a single pointer that can perform actions beyond those available to non-primary pointers. For example, when a primary pointer makes contact with a window’s surface, it may provide the window an opportunity to activate by sending it a PointerActivate event. more
kFlagSecondButton &h20 Indicates a secondary action, analogous to a right mouse button down. more
kFlagThirdButton &h40 Analogous to a mouse wheel button down. more
kFlagUp &h40000 Indicates that this pointer transitioned to an up state; that is, contact with the digitizer surface ended.
kFlagUpdate &h20000 Indicates that this is a simple update that does not include pointer state changes.
kFlagWheel &h80000 Indicates input associated with a pointer wheel. For mouse pointers, this is equivalent to the action of the mouse scroll wheel.

Pointer Types

Constant Value Description
kTypeMouse 4 Mouse pointer type.
kTypePen 3 Pen pointer type.
kTypePointer 1 Generic pointer type. more
kTypeTouch 2 Touch pointer type.
kTypeTouchpad 5 Touchpad pointer type (Windows 8.1 and later).

This class has no sub classes.

Some events using this class:

Some examples using this class:

Blog Entries


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


WinPointerEventsMBS   -   WinShellItemArrayMBS


The biggest plugin in space...