Reputation: 31
I wanted to ask.Im doing a program that when its minimized or some other window are opened to read my keys and if "specific" is pressed to do something. I used InputSimulator but its working only when a program is in normal window state.if program are minimized. didnt responde?What should i use to make it working in background ?
Upvotes: 1
Views: 1454
Reputation: 1453
You should use RegisterHotKey API functions to regist hotkeys for your processes, also here is an example for it.
Upvotes: 2