B bluewind Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-30 #1 如何控制鼠标的移动和点击?<br>我曾想使用PostMessage(),但不知消息应该发给谁?<br>发给操作系统吗?可句柄该怎么写?<br>谢谢!
E Eldorado Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-31 #5 直接相应鼠标的移动和点击消息,不想要她动就屏蔽掉<br>这样作最简单了。<br>WM_MOUSEMOVE<br>.......
W www Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-31 #6 可以使用mouse_event这个API,<br>移动mouse_event(MOUSEEVENTF_MOVE,100,100,0,0);<br><br>双击时可以模拟两次单击<br> mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);<br> mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);<br> mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);<br> mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
可以使用mouse_event这个API,<br>移动mouse_event(MOUSEEVENTF_MOVE,100,100,0,0);<br><br>双击时可以模拟两次单击<br> mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);<br> mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);<br> mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);<br> mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
A autumn Unregistered / Unconfirmed GUEST, unregistred user! 1999-08-31 #7 向下移,可以办到。但向上却无能为力了!!!<br>请指教