Recently boring postmessage was used to simulate the mouse button, achieve the goal of automatic chess operating process is a single board games crazystone Use spy++ checked the game after the operation of the interface board is the HWND Then write a demon
however, there is no use with spy++ to see the next message is received the x, y coordinates are right Inadvertently run the circulation, use the mouse to move to the game interface An amazing thing happened when I the mouse moves to a place I have began to automatic chess Is very strange, I changed x y are so For help once you requested
CodePudding user response:
Whether to set up the next focus first? The BringWindowToTop (hGameWnd); SetFocus (hGameWnd);