◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINPOINTERS BOOL WinSetPointerPos(hwndDesktop, x, y) HWND hwndDesktop; /* handle of the desktop */ SHORT x; /* horizontal position */ SHORT y; /* vertical position */ The WinSetPointerPos function sets the mouse pointer position. Parameter Description ──────────────────────────────────────────────────────────────────────────── hwndDesktop Identifies the desktop window. This parameter can be HWND_DESKTOP or the desktop window handle. x Specifies the x position of the pointer (in screen coordinates). y Specifies the y position of the pointer (in screen coordinates). Return Value The return value is TRUE if the function is successful or FALSE if an error occurs. See Also WinQueryPointerPos ♦