开发者

c++ win32 SendInput()

开发者 https://www.devze.com 2023-04-02 07:30 出处:网络
How can I simu开发者_JAVA技巧late key press with SendInput()? I want to make it to simulate for example in a notepad to press shift+q. So a Q would appear in the notepad if I run my program. You need

How can I simu开发者_JAVA技巧late key press with SendInput()?

I want to make it to simulate for example in a notepad to press shift+q. So a Q would appear in the notepad if I run my program.


You need 4 inputs: shift down, q down, q up, shift up. Therefore, use a INPUT[4].

0

精彩评论

暂无评论...
验证码 换一张
取 消