By setting up a timer, it does set the focus back to the main window, BUT
If you press a button down, and while you are pressing it down, the timer happens to go off, the button will reset (go back up) even though you didn't release the mouse button yet.
This is definitely not something I want to happen.
Does anyone have any ideas on how to handle catching a key being pressed (without the possibility of it not being detected)?
If you press a button down, and while you are pressing it down, the timer happens to go off, the button will reset (go back up) even though you didn't release the mouse button yet.
This is definitely not something I want to happen.
Does anyone have any ideas on how to handle catching a key being pressed (without the possibility of it not being detected)?