Click to See Complete Forum and Search --> : Moving the mouse pointer


Jase
April 13th, 1999, 04:08 AM
Hi, I was wondering if anyone out there knows how to change the position of the mouse pointer 'from behind the scenes'. For instance, I would ideally like a function whose prototype is as follows:

void MoveMouse( DWORD xpos, DWORD ypos)

Cheers,

Jase.

SKB
April 13th, 1999, 11:28 AM
Jase,

Use the function
BOOL SetCursorPos(int X, int Y);