SetWindowsHookEx -Issue Intercepting\Blocking Mouse Movement in Game
问题 Here is the thing: I defined a "P" shortcut\hotkey to move mouse to a specific x y coord, so, when "P" key is pressed in game, the game's camera moves (if in game's menu the mouse cursor moves)! Now the problem is, I use "SetWindowsHookEx" to intercept\block mouse movement, so, when "P" key is pressed, the mouse cursor in game's menu does not move because it is intercepted\blocked, but if not in menu "P" key can still move the game's camera (which would mean that mouse is not intercepted