C# 클래스 Binarysharp.MemoryManagement.Native.MouseInput

파일 보기 프로젝트 열기: ZenLulz/MemorySharp

공개 프로퍼티들

프로퍼티 타입 설명
DeltaX int
DeltaY int
ExtraInfo System.IntPtr
Flags MouseFlags
MouseData int
Time int

프로퍼티 상세

DeltaX 공개적으로 프로퍼티

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
리턴 int

DeltaY 공개적으로 프로퍼티

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
리턴 int

ExtraInfo 공개적으로 프로퍼티

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

Flags 공개적으로 프로퍼티

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
리턴 MouseFlags

MouseData 공개적으로 프로퍼티

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
리턴 int

Time 공개적으로 프로퍼티

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