Setting mouse position without System.Windows.Forms

c#, mouse, windows

Solution

oops my bad, read question too fast, heres the correct PInvoke call

[DllImport("user32.dll")]
static extern bool SetCursorPos(int X, int Y);

Source: http://www.pinvoke.net/default.aspx/user32.setcursorpos

Problem

Is there a way to manipulate the mouse position without using System.Windows.Forms.Cursor? Something like interop maybe? Reason for this is that we are using a specialized .NET subset which can't include System.Windows.Forms.

Original source

Related problems