MouseInputFlags Enumeration

A set of bit flags that specify various aspects of mouse motion and button clicks.

Flags combination for Flags field.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum MouseInputFlags

Remarks

Members

Move 1 Movement occurred.
LeftDown 2 The left button was pressed.
LeftUp 4 The left button was released.
RightDown 8 The right button was pressed.
RightUp 16 The right button was released.
MiddleDown 32 The middle button was pressed.
MiddleUp 64 The middle button was released.
XDown 128 An X button was pressed.
XUp 256 An X button was released.
Wheel 2,048 The wheel was moved, if the mouse has a wheel.

The amount of movement is specified in MouseData.

HWheel 4,096 The wheel was moved horizontally, if the mouse has a wheel.

The amount of movement is specified in MouseData.

MoveNoCoalesce 8,192 The WM_MouseMove messages will not be coalesced.

The default behavior is to coalesce WM_MouseMove messages.

VirtualDesk 16,384 Maps coordinates to the entire desktop.

Must be used in combination with Absolute.

Absolute 32,768 The X and Y members contain normalized absolute coordinates.

If the flag is not set, X and Y contain relative data (the change in position since the last reported position).

This flag can be set, or not set, regardless of what kind of mouse or other pointing device, if any, is connected to the system.

See Also