C# Class Silky_Shark.MouseHook

显示文件 Open project: stoicshark/silkyshark Class Usage Examples

Public Properties

Property Type Description
downEnabled bool
moveEnabled bool

Public Methods

Method Description
GetCursorPosition ( ) : Point
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
CallNextHookEx ( IntPtr hk, int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
GetCursorPos ( POINT &lpPoint ) : bool
GetModuleHandle ( string lpModuleName ) : IntPtr
HookCallback ( int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
SetCursorPos ( int x, int y ) : long
SetHook ( LowLevelMouseProcess proc ) : IntPtr
SetWindowsHookEx ( int idHook, LowLevelMouseProcess lpfn, IntPtr hMod, uint dwThreadId ) : IntPtr
UnhookWindowsHookEx ( IntPtr hk ) : bool

Method Details

GetCursorPosition() public static method

public static GetCursorPosition ( ) : Point
return Point

Start() public static method

public static Start ( ) : void
return void

Stop() public static method

public static Stop ( ) : void
return void

Property Details

downEnabled public_oe static_oe property

public static bool downEnabled
return bool

moveEnabled public_oe static_oe property

public static bool moveEnabled
return bool