CodePudding user response:
Use the APIKeybd_event,0,0,0 (11);//press Ctrl key
Keybd_event (32,0,0,0);//to press the space key
Keybd_event,0,2,0 (11);//release CTRL key
Keybd_event (32,0,2,0);//loosen the space key
CodePudding user response:
Use the API