Mouse.MoveTo

Class library usage, coding and language questions.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Mouse.MoveTo

Post by atom » Mon Mar 15, 2010 3:47 pm

Hiya

Is Mouse.MoveTo synchronous or asynchronous ?
To me it appears asynchronous... meaning i have to have a sleep as the next line

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Mouse.MoveTo

Post by Support Team » Mon Mar 15, 2010 3:58 pm

Hi,

the Mouse.MoveTo is synchronous, i.e. the mouse input should have already happened when the method returns. However, it is not guaranteed that the control already processed the mouse input, e.g. updated its internal state to a mouse click.

Regards,
Peter
Ranorex Support Team