Hello, the title says all!, Im looking into how to change mouse position
I alredy managed to get the X Y positions
I looked up for SendInput but never undernstood itCode:POINT p; GetCursorPos(&p); std::cout << "Mouse X posittion: " << p.x << std::endl; std::cout << "Mouse Y posittion: " << p.y << std::endl;
Thanks
Hell_Demon (12-27-2012)
My first thought was SetCursorPos also.
pinvoke.net: mouse_event (user32) works too, but is more complex. you can do more than just set position (ie. click)
Last edited by abuckau907; 12-27-2012 at 12:57 PM.