Win32 equivalent of .net SendKeys

前端 未结 3 1032
长情又很酷
长情又很酷 2021-01-14 03:27

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 w

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-14 04:01

    If there are multiple applications, on Vista and higher, UAC integrity levels may prevent applications from sending/receiving Windows messages this way. You may need to call ChangeWindowMessageFilter, ChangeWindowMessageFilterEx functions to enable message-reception in higher elevated process.

提交回复
热议问题