Visual C#

long hwnd = 0;
long x = 0;
long y = 0;
try
{
    Capture.GetCursorInfo(out hwnd, out x, out y);
}
catch(Exception e)
{
    MessageBox.Show(e.Message);
}
Comments