SetCursorPos(x, y);//设置鼠标位置 mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);//左键按下 mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);//左键弹起
SetCursorPos(x, y);//设置鼠标位置WM_LBUTTONDOWN //左键按下 WM_RBUTTONDOWN//右键弹起WM_MOVE //鼠标移动