C# Class Binarysharp.MemoryManagement.Native.MouseInput

Datei anzeigen Open project: ZenLulz/MemorySharp

Public Properties

Property Type Description
DeltaX int
DeltaY int
ExtraInfo System.IntPtr
Flags MouseFlags
MouseData int
Time int

Property Details

DeltaX public_oe property

The absolute position of the mouse, or the amount of motion since the last mouse event was generated, depending on the value of the Flags member. Absolute data is specified as the x coordinate of the mouse; relative data is specified as the number of pixels moved.
public int DeltaX
return int

DeltaY public_oe property

The absolute position of the mouse, or the amount of motion since the last mouse event was generated, depending on the value of the Flags member. Absolute data is specified as the y coordinate of the mouse; relative data is specified as the number of pixels moved.
public int DeltaY
return int

ExtraInfo public_oe property

An additional value associated with the mouse event. An application calls GetMessageExtraInfo to obtain this extra information.
public IntPtr,System ExtraInfo
return System.IntPtr

Flags public_oe property

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, MouseFlags.LeftDown is set when the left button is first pressed, but not for subsequent motions. Similarly, MouseFlags.LeftUp is set only when the button is first released. You cannot specify both the MouseFlags.Wheel flag and either MouseFlags.XDown or MouseFlags.XUp flags simultaneously in the dwFlags parameter, because they both require use of the mouseData field.
public MouseFlags Flags
return MouseFlags

MouseData public_oe property

If Flags contains MouseFlags.Wheel, then mouseData specifies the amount of wheel movement. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. One wheel click is defined as WHEEL_DELTA, which is 120. Windows Vista: If dwFlags contains MouseFlags.HWheel, then dwData specifies the amount of wheel movement. A positive value indicates that the wheel was rotated to the right; a negative value indicates that the wheel was rotated to the left. One wheel click is defined as WHEEL_DELTA, which is 120. If dwFlags does not contain MouseFlags.Wheel, MouseFlags.XDown, or MouseFlags.XUp, then mouseData should be zero. If dwFlags contains MouseFlags.XDown or MouseFlags.XUp, then mouseData specifies which X buttons were pressed or released. This value may be any combination of the following flags. XBUTTON1 = 0x1 XBUTTON2 = 0x2
public int MouseData
return int

Time public_oe property

The time stamp for the event, in milliseconds. If this parameter is 0, the system will provide its own time stamp.
public int Time
return int