Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
If the window that calls the GetKeyState is active, the function works correctly. If window not active the function not returns the current state of the keys. Instead, it uses the "stored" keys state, before to switch to another window. Test program attached. The program uses a timer to call GetKeyState. Also, after switching back to the program, calls the GetKeyState function does not reset the status values "stored" keys, yet this keys not press again.