Program to respond to Keycodes while minimized

40 views Asked by At

I need a program to respond while not active/not selected by user or minimized to KeyCodes. Anyone got ideas? In VB.NET.

1

There are 1 answers

5
Thorsten Dittmar On

This won't work out of the box as key messages are only sent to the active window. A minimized window is never active.

What you could try is register system-wide hotkeys. You could also try to install a keyboard hook, however, this would affect the entire system and your application would receive all the keystrokes performed. This would require efficient filtering.