Home > database >  Ctrl Space
Ctrl Space

Time:10-18

Pb how to simulate send CTRL + space key?

CodePudding user response:

Use the API

Keybd_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
  • Related