梦天哥 发表于 2022-8-15 07:11:37

C++模拟鼠标移动点击操作源码


C++模拟鼠标移动点击操作源码

//前台
mouse_event(MOUSEEVENTF_MOVE,100,100,0,GetMessageExtraInfo());//移动
mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,GetMessageExtraInfo());//按下
mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,GetMessageExtraInfo());//松开

//后台消息模拟鼠标

**** Hidden Message *****
页: [1]
查看完整版本: C++模拟鼠标移动点击操作源码