[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool GetCursorPos(out Point lpPoint);
Declare Function GetCursorPos Lib "user32.dll" _
(ByRef lpPoint As POINT) as boolean
None.
Please add some!
Point p;
if (GetCursorPos(out p))
{
label1.Text = Convert.ToString(p.X) + ";" + Convert.ToString(p.Y);
}
System.Windows.Forms.Cursor.Position