Enum MouseEventFlags
A set of bit flags that specify various aspects of mouse motion and button clicks. The bits in this member can be any reasonable combination of the following values. The bit flags that specify mouse button status are set to indicate changes in status, not ongoing conditions. For example, if the left mouse button is pressed and held down, MOUSEEVENTF_LEFTDOWN is set when the left button is first pressed, but not for subsequent motions. Similarly, MOUSEEVENTF_LEFTUP is set only when the button is first released. You cannot specify both the MOUSEEVENTF_WHEEL flag and either MOUSEEVENTF_XDOWN or MOUSEEVENTF_XUP flags simultaneously in the dwFlags parameter, because they both require use of the mouseData field. See
Namespace: Dapplo.Windows.Input.Enums
Assembly: Dapplo.Windows.Input.dll
Syntax
public enum MouseEventFlags : uint
Fields
Name | Description |
---|---|
Absolute | The dx and dy members contain normalized absolute coordinates. If the flag is not set, dxand dy 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. For further information about relative mouse motion, see the following Remarks section. |
HorizontalWheel | The wheel was moved horizontally, if the mouse has a wheel. The amount of movement is specified in mouseData. Windows XP/2000: This value is not supported. |
LeftDown | The left button was pressed. |
LeftUp | The left button was released. |
MiddleDown | The middle button was pressed. |
MiddleUp | The middle button was released. |
Move | Movement occurred. |
MoveNocoalesce | The WM_MOUSEMOVE messages will not be coalesced. The default behavior is to coalesce WM_MOUSEMOVE messages. Windows XP/2000: This value is not supported. |
None | Default value |
RightDown | The right button was pressed. |
RightUp | The right button was released. |
Virtualdesk | Maps coordinates to the entire desktop. Must be used with MOUSEEVENTF_ABSOLUTE. |
Wheel | The wheel was moved, if the mouse has a wheel. The amount of movement is specified in mouseData. |
XDown | An X button was pressed. |
XUp | An X button was released. |