SharpHook is a library to wrap some Win32 mouse and keyboard APIs and install a hook to generate standard .NET events when a key is pressed or a mouse event occurs.
The hook comes in handy when you need control over keypresses and mouse clicks happening out of your application.
You can attach your code to KeyDown, KeyPress and KeyUp events, MouseDown, Click, DoubleClick, MouseUp, MouseWheel, MouseMove.
A test application is included to see how the code should be used.
[ad]
Downloads:
Release includes binaries and source code.
- sharphook 0.0.4 (4809 downloads )
- sharphook 0.0.3 (4849 downloads )
- sharphook 0.0.2 (4647 downloads )
- sharphook 0.0.1 (5328 downloads )
SVN
Up to date source code can be found at: https://elvenprogrammer.svn.beanstalkapp.com/projects/trunk/sharphook
ElvenProgrammer