This project is read-only.

Mouse.Click problem

Jan 14, 2011 at 10:55 PM

Hi there I have a control that cannot be recognised so I just want to click the mouse at the position of the button.

I am trying to use Mouse.Click but I am having issuesm what am i doing wrong

AttachedMouse mouse = win.Mouse;

            mouse.Click(new System.Drawing.Point(0, 50));
Thanks in advance

Jan 17, 2011 at 12:29 PM

What kind of issue?


Does the click don't work or do you get an exception?



Jan 19, 2011 at 11:26 PM

I get this error

Error 1 The best overloaded method match for 'White.Core.InputDevices.AttachedMouse.Click(System.Windows.Point)' has some invalid arguments

Jan 20, 2011 at 3:47 PM



you should use System.Windows.Point, instead of