I was willing to generate an event as mouseclick event in winforms when the the form control is not active and save the position of mouse cursor where it was clicked on the windows ...
+2
A:
I'm not sure I understood your question correctly, but I think this library might help you. It uses global system hooks to detect all mouse and keyboard events (even outside your application)
Thomas Levesque
2010-01-08 21:33:27