SharpHook

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.

SVN

Up to date source code can be found at: https://elvenprogrammer.svn.beanstalkapp.com/projects/trunk/sharphook

Leave a Reply

Your email address will not be published. Required fields are marked *