Mouse Pointer moves on specified location dynamically

ChangeLocation , Csharp , MousePointer India
  • 11 years ago

    Hi, I want to move the mouse pointer only on snap points which may be float or int value .My graphics unit is in millimeter.

    Cursor.Position accepts only int value. So is there some other method or procedure from which it can be done.

    For example

    I want the mouse pointer to move on 2.5 multiples.

    (100 , 50) (102.5, 50)........ (100,52.5) (102.5, 52.5)................ ..............................

    Thanks

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Brevity is the soul of wit” - Shakespeare