CPoint point;
GetCursorPos(&point); //获取鼠标位置
SetCursorPos(100, 100); //设置鼠标位置
//mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); //移动鼠标位置
mouse_event(MOUSEEVENTF_LEFTDOWN,
CPoint point;
GetCursorPos(&point); //获取鼠标位置
SetCursorPos(100, 100); //设置鼠标位置
//mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); //移动鼠标位置
mouse_event(MOUSEEVENTF_LEFTDOWN,