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]
.
精彩评论