I’ve built a winforms application which checks for CTR+ALT+S and CTRL+ALT+E keypresses, using by overriding the ProcessCmdKey method. This works great, but if the screensaver goes on and then goes off the form doesn’t have focus and the keypresses aren’t intercepted. How can I receive these even if the form does not have focus?
I’ve built a winforms application which checks for CTR+ALT+S and CTRL+ALT+E keypresses, using by
Share
Alexander Werner has a ‘System Hotkey Component‘ project over at Code Project that wraps the RegisterHotkey() API into a user control that’s really easy to implement.