C# Class ModernSteward.MouseHook

Captures global mouse events
Inheritance: GlobalHook
Show file Open project: ModernSteward/ModernSteward Class Usage Examples

Public Methods

Method Description
MouseHook ( ) : System

Protected Methods

Method Description
HookCallbackProcedure ( int nCode, int wParam, IntPtr lParam ) : int

Private Methods

Method Description
GetButton ( Int32 wParam ) : MouseButtons
GetEventType ( Int32 wParam ) : MouseEventType

Method Details

HookCallbackProcedure() protected method

protected HookCallbackProcedure ( int nCode, int wParam, IntPtr lParam ) : int
nCode int
wParam int
lParam System.IntPtr
return int

MouseHook() public method

public MouseHook ( ) : System
return System