virtualoverride
Programmer
I'm designing a program that runs in the system tray and it would be convenient to have some hotkeys to do a few things. However, since the program runs in the background (i.e. the window is generally invisible), my program does not have the input focus--which makes it very difficult to process keyboard events! Follow me?
I'm wondering if there's some way to capture keyboard events from the system and process hotkeys regardless of what window has the focus--it's the only way to implement hotkeys for a program that runs in the background like mine does.
I used a program called WinKey for a while that performs basically what I want to do ( wondering how they did it. I think it has something to do with shell extensions?? Any ideas that might point me in the right direction would be very appreciated...
Thanks--
Andrew
I'm wondering if there's some way to capture keyboard events from the system and process hotkeys regardless of what window has the focus--it's the only way to implement hotkeys for a program that runs in the background like mine does.
I used a program called WinKey for a while that performs basically what I want to do ( wondering how they did it. I think it has something to do with shell extensions?? Any ideas that might point me in the right direction would be very appreciated...
Thanks--
Andrew