开发者

c++ win32 SendInput()

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜