C# Class NewTOAPIA.UI.MouseActivityArgs

Inheritance: System.EventArgs
Mostrar archivo Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
ConvertButtonActivityToMouseActivity ( MouseButtonActivity mbActivity ) : MouseActivityType
ConvertMessageToActivityType ( int msg ) : MouseActivityType
ConvertMessageToButtonActivityType ( int msg, int &clicks ) : MouseButtonActivity
CreateFromLowLevelHookProc ( int msg, MSLLHOOKSTRUCT eventData ) : MouseActivityArgs
CreateFromRawInput ( MouseDevice device, RAWMOUSE rawMouse ) : MouseActivityArgs
CreateFromWindowsMessage ( IntPtr windowHandle, int msg, IntPtr wParam, IntPtr lParam ) : MouseActivityArgs
MouseActivityArgs ( MouseDevice device, MouseActivityType activityType, MouseButtonActivity buttonActivity, MouseCoordinateSpace space, MouseMovementType mmType, IntPtr windowHandle, int x, int y, short delta, int clicks, int keyflags ) : System
ToString ( ) : string

Private Methods

Method Description
CreateKeyFlagsFromButtonStates ( int buttonStates ) : int

Method Details

ConvertButtonActivityToMouseActivity() public static method

public static ConvertButtonActivityToMouseActivity ( MouseButtonActivity mbActivity ) : MouseActivityType
mbActivity MouseButtonActivity
return MouseActivityType

ConvertMessageToActivityType() public static method

public static ConvertMessageToActivityType ( int msg ) : MouseActivityType
msg int
return MouseActivityType

ConvertMessageToButtonActivityType() public static method

public static ConvertMessageToButtonActivityType ( int msg, int &clicks ) : MouseButtonActivity
msg int
clicks int
return MouseButtonActivity

CreateFromLowLevelHookProc() public static method

public static CreateFromLowLevelHookProc ( int msg, MSLLHOOKSTRUCT eventData ) : MouseActivityArgs
msg int
eventData MSLLHOOKSTRUCT
return MouseActivityArgs

CreateFromRawInput() public static method

public static CreateFromRawInput ( MouseDevice device, RAWMOUSE rawMouse ) : MouseActivityArgs
device MouseDevice
rawMouse TOAPI.User32.RAWMOUSE
return MouseActivityArgs

CreateFromWindowsMessage() public static method

public static CreateFromWindowsMessage ( IntPtr windowHandle, int msg, IntPtr wParam, IntPtr lParam ) : MouseActivityArgs
windowHandle System.IntPtr
msg int
wParam System.IntPtr
lParam System.IntPtr
return MouseActivityArgs

MouseActivityArgs() public method

public MouseActivityArgs ( MouseDevice device, MouseActivityType activityType, MouseButtonActivity buttonActivity, MouseCoordinateSpace space, MouseMovementType mmType, IntPtr windowHandle, int x, int y, short delta, int clicks, int keyflags ) : System
device MouseDevice
activityType MouseActivityType
buttonActivity MouseButtonActivity
space MouseCoordinateSpace
mmType MouseMovementType
windowHandle System.IntPtr
x int
y int
delta short
clicks int
keyflags int
return System

ToString() public method

public ToString ( ) : string
return string