![]() |
Sylloge
A C# helper library
|
A global low level mouse hook that allows you to catch mouse events. More...
Public Member Functions | |
| delegate void | DelegateMouseEvent (int wParam, Sylloge.WinAPI.MouseInput mouseHook) |
| static IntPtr | SetWindowsHookEx (int idHook, LowLevelMouseProcDelegate lpfn, IntPtr hmod, int dwThreadId) |
| static IntPtr | CallNextHookEx (IntPtr hHook, int nCode, int wParam, ref Sylloge.WinAPI.MouseInput lParam) |
| delegate IntPtr | LowLevelMouseProcDelegate (int nCode, int wParam, ref Sylloge.WinAPI.MouseInput lParam) |
Static Public Member Functions | |
| static void | OnMouseEvent (int wParam, Sylloge.WinAPI.MouseInput mouseHook) |
| static void | Initialize () |
| Initializes the low level hooks. | |
| static void | Dispose () |
| Closes and disposes of the low level hooks. | |
| static IntPtr | LowLevelMouseProc (int nCode, int wParam, ref Sylloge.WinAPI.MouseInput lParam) |
| static System.Windows.Forms.Cursor | CreateCursor (System.Drawing.Bitmap bmp, int x, int y) |
Static Public Attributes | |
| static IntPtr | HookLowLevelMouse |
| static LowLevelMouseProcDelegate | MouseDelegate |
Events | |
| static DelegateMouseEvent | MouseEvent |
| Occurs when a mouse event happens (mouse move, button press, etc.) | |
A global low level mouse hook that allows you to catch mouse events.
Definition at line 27 of file MouseHook.cs.
| static IntPtr Sylloge.Device.GlobalMouseHandler.CallNextHookEx | ( | IntPtr | hHook, |
| int | nCode, | ||
| int | wParam, | ||
| ref Sylloge.WinAPI.MouseInput | lParam | ||
| ) |
| static System.Windows.Forms.Cursor Sylloge.Device.GlobalMouseHandler.CreateCursor | ( | System.Drawing.Bitmap | bmp, |
| int | x, | ||
| int | y | ||
| ) | [static] |
Definition at line 101 of file MouseHook.cs.
| delegate void Sylloge.Device.GlobalMouseHandler.DelegateMouseEvent | ( | int | wParam, |
| Sylloge.WinAPI.MouseInput | mouseHook | ||
| ) |
| static void Sylloge.Device.GlobalMouseHandler.Dispose | ( | ) | [static] |
Closes and disposes of the low level hooks.
Definition at line 84 of file MouseHook.cs.
| static void Sylloge.Device.GlobalMouseHandler.Initialize | ( | ) | [static] |
Initializes the low level hooks.
Definition at line 70 of file MouseHook.cs.
| static IntPtr Sylloge.Device.GlobalMouseHandler.LowLevelMouseProc | ( | int | nCode, |
| int | wParam, | ||
| ref Sylloge.WinAPI.MouseInput | lParam | ||
| ) | [static] |
Definition at line 91 of file MouseHook.cs.
| delegate IntPtr Sylloge.Device.GlobalMouseHandler.LowLevelMouseProcDelegate | ( | int | nCode, |
| int | wParam, | ||
| ref Sylloge.WinAPI.MouseInput | lParam | ||
| ) |
| static void Sylloge.Device.GlobalMouseHandler.OnMouseEvent | ( | int | wParam, |
| Sylloge.WinAPI.MouseInput | mouseHook | ||
| ) | [static] |
Definition at line 37 of file MouseHook.cs.
| static IntPtr Sylloge.Device.GlobalMouseHandler.SetWindowsHookEx | ( | int | idHook, |
| LowLevelMouseProcDelegate | lpfn, | ||
| IntPtr | hmod, | ||
| int | dwThreadId | ||
| ) |
IntPtr Sylloge.Device.GlobalMouseHandler.HookLowLevelMouse [static] |
Definition at line 59 of file MouseHook.cs.
LowLevelMouseProcDelegate Sylloge.Device.GlobalMouseHandler.MouseDelegate [static] |
Definition at line 61 of file MouseHook.cs.
DelegateMouseEvent Sylloge.Device.GlobalMouseHandler.MouseEvent [static] |
Occurs when a mouse event happens (mouse move, button press, etc.)
Definition at line 35 of file MouseHook.cs.
1.7.4