Move a mouse to a point on a screen?

I wanna know if its possible to move a mouse to a certain point on the screen. I looked at the post at http://www.cplusplus.com/forum/beginner/1258/ and tried to use that but nothing happens, any reasons why (i'm running on window vista)
The console cursor and the mouse cursor are two different things. To warp the mouse cursor, use the SetCursorPos() function (#include <windows.h>).
http://www.google.com/search?btnI=1&q=msdn+SetCursorPos

JSYK, moving the user's cursor is a Really Bad Idea. Unless you have a really good reason, your users will hate you.

Good luck!
Topic archived. No new replies allowed.