The Cursor class has the static member "Position" which is a Point.
so, something like this:
hope this helps!Code:Using System.Windows.Forms; // .... MessageBox.Show("Cursor is at (" + Cursor.Position.X.ToString() + "," + Cursor.Position.Y.ToString() + ").");





Reply With Quote