Want to write a background simulation using SendMessage function keys (refer to the run-time binding window can be minimized), press F10, binding a window, and press the space key, the time interval between each key can adjust themselves in the window, until the press F12 stops, the key part is very simple, but I don't know how to use F10 start and stop F12 loop exits, consult everybody, thank you first
CodePudding user response:
Top one yourself
CodePudding user response:
CodePudding user response:
The program you minimize (not binding window)? Without minimizing, detect button F10 began to cycle, cycle of constantly judging an indicator variable, if the flag is true will exit the loop and loop response system messages, unceasingly in order to have a key message F12 can perform, Detect button F12 change flag variable has a value of true,
If your program is to minimize, may need to Hook to detect button F10 and F12,