Win32等同于.net SendKeys [英] Win32 equivalent of .net SendKeys

查看:230
本文介绍了Win32等同于.net SendKeys的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设计一个从Kinect读取手势并进行一些操作的系统。我试图包括系统能够发送HotKey到一个应用程序。我的系统是用c ++编写的,但UI是在C ++。net。我已经能够使用SendKeys从UI部分,它的工作。

I am designing a system that reads a gesture from Kinect and make some actions. I am trying to include the system to be able to send HotKey to an application. My system is writing in c++ but the UI is in C++.net. I have been able to use SendKeys from the UI part and it does work.

是否有Win32等效项,因此我可以在我的系统中使用它?

Is there a Win32 equivalent so I can use it in my system?

p>

推荐答案

在WIN32中,SendKeys称为SendInput:

In WIN32, SendKeys is called SendInput:

http://msdn.microsoft.com/en-us/library/ ms646310(v = vs.85).aspx

它也可以模拟鼠标移动等。

It can also simulate mouse movements, etc.

这篇关于Win32等同于.net SendKeys的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆