1 16cy Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-11 #1 mouse_event(MOUSEEVENTF_ABSOLUTE|MOUSEEVENTF_MOVE,500,600,0,0);<br>与<br>setcursorpos(500,600);<br>有何区别?
mouse_event(MOUSEEVENTF_ABSOLUTE|MOUSEEVENTF_MOVE,500,600,0,0);<br>与<br>setcursorpos(500,600);<br>有何区别?
X xuzengliang81 Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-11 #2 mouse_event 模拟一次鼠标事件<br>SetCursorPos 设置指针的位置
1 16cy Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-11 #3 我问的是下面两句有何区别?<br>mouse_event(MOUSEEVENTF_ABSOLUTE|MOUSEEVENTF_MOVE,500,600,0,0);<br>setcursorpos(500,600);
我问的是下面两句有何区别?<br>mouse_event(MOUSEEVENTF_ABSOLUTE|MOUSEEVENTF_MOVE,500,600,0,0);<br>setcursorpos(500,600);
1 16cy Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-11 #5 to白河愁:<br>还是不太明白。<br><br>只有这个区别吗?运行结果是不是相同?
1 16cy Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-11 #7 mouse_event(MOUSEEVENTF_ABSOLUTE|MOUSEEVENTF_MOVE,500,600,0,0);<br>postmessage(hwnd,WM_MOUSEMOVE,0,makelparam(500,600);<br><br>这两句是不是效果一样?
mouse_event(MOUSEEVENTF_ABSOLUTE|MOUSEEVENTF_MOVE,500,600,0,0);<br>postmessage(hwnd,WM_MOUSEMOVE,0,makelparam(500,600);<br><br>这两句是不是效果一样?
白 白河愁 Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-11 #8 用了 MOUSEEVENTF_ABSOLUTE 的话,对应hwnd就一样