mouse_event The mouse_event function synthesizes mouse motion and button clicks. Windows NT/2000 or later: This function has been superseded. Use SendInput instead.VOID mouse_event( DWORD dwFlags, // motion and click options DWORD dx, // horizontal position or change DWORD dy, // vertical position or change DWORD dwData, // wheel movement ULONG_PTR dwExtraInfo // application-defined information );
mouse_event.[suggestion]
SendInput
The mouse_event function synthesizes mouse motion and button clicks. Windows NT/2000 or later: This function has been superseded. Use SendInput instead.VOID mouse_event(
DWORD dwFlags, // motion and click options
DWORD dx, // horizontal position or change
DWORD dy, // vertical position or change
DWORD dwData, // wheel movement
ULONG_PTR dwExtraInfo // application-defined information
);
如何取当前光标的坐标呢:)