如何在C ++中同时生成两个或多个键盘按键 [英] how can generate two or more keyboard key strokes same time in c++
本文介绍了如何在C ++中同时生成两个或多个键盘按键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在c ++中实现复制,粘贴,剪切和删除等命令.在听到我想同时产生两个或多个键盘按键时.
i want to implement commands like copy,paste,cut and delete in c++. In hear i want to generate tow or more keyboard key strokes in same time. how can i do this?
推荐答案
^ ]
如果可以使用win32,SendInput将有助于创建击键.
http://msdn.microsoft.com/en-us/library/ms646310%28v=vs.85%29.aspx[^]
If you can use win32, SendInput will be helpful to create keystrokes.
这篇关于如何在C ++中同时生成两个或多个键盘按键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文