Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Win32 equivalent of .net SendKeys

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.

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

Thanks in advance!

like image 661
Oni Avatar asked Jul 27 '11 01:07

Oni


1 Answers

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.

like image 77
500 - Internal Server Error Avatar answered Oct 02 '22 19:10

500 - Internal Server Error