本文介绍了如何将鼠标事件发布到进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将鼠标事件发送给进程,如
mouseEvent(leftDown,x,y);
我的目的是将事件发布到应用程序主循环中(甚至不更改光标位置),这样我就可以继续使用鼠标和键盘来做其他事情.
在Windows上是否存在执行此操作的方法?
PS:对不起,我的英语.
Hi, I need to send to a process mouse events like
mouseEvent(leftDown,x,y);
My purpose is to post events to the app main loop (without even changing the cursor position) so I can keep using mouse and keyboard for doing other things.
Does exist a way to do that on Windows?
PS: sorry for my English.
推荐答案
这篇关于如何将鼠标事件发布到进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!