Easiest way to reliably do it: hook into the LowLevelKeyboardHook and LowLevelMouseHook messages from your program. No matter which app has focus, your code will receive notifications that a key is being pressed or a mouse event occurs. Each time you receive the key or mouse message, reset the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.