//模拟鼠标双击<br>Mouse_Event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);<br>Sleep(50);<br>Mouse_Event(MOUSEEVENTF_LEFTUP,0,0,0,0);<br>Sleep(50);<br>Mouse_Event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);<br>Sleep(50);<br>Mouse_Event(MOUSEEVENTF_LEFTUP,0,0,0,0);<br><br>//使鼠标相对移动 x,y 像素<br>Mouse_Event(MOUSEEVENTF_MOVE,x,y,0,0);<br><br>//让鼠标定位到 x,y 位置<br>SetCursorPos(x,y);