How can I have it so if I hit F12 my program stops, regardless of what window has focus. Thank you
Printable View
How can I have it so if I hit F12 my program stops, regardless of what window has focus. Thank you
You could do something like that with a combination of RegisterHotkey and subclassing. The only problem is that the F12 can not be used, because this key is reserved for debuggers. Any other key will do though.
You can find more info in this thread
ty, thats exactly what i was looking for, :D