#include <windows.h>
and then you can set the Window Mouse Position with
SetCursorPos (x,y);