mouse methods

Class library usage, coding and language questions.
arishahsan
Posts: 26
Joined: Thu Jan 18, 2007 12:04 pm

mouse methods

Post by arishahsan » Wed Mar 07, 2007 7:16 am

How can I set the mouse co-ordinate mode as the ActiveWindowCoordinates.

I mean I want to perform the operation on the basis of the active window co-ordinates,not on the screen co-ordinates.

cmiller
Posts: 7
Joined: Mon Mar 05, 2007 7:23 pm

Post by cmiller » Wed Mar 07, 2007 7:01 pm

I think this is what you're looking for.

Code: Select all

Ranorex.Mouse.CoordinateMode = MouseCoordinateMode.ClientWindowCoordinates;