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]