wpf - C# mouse position returning bad screen coordinates -


recently i've been trying screen coordinates(using dual monitor) based on mouse position. i've tried :

  1. system.windows.forms.control.mouseposition;
  2. mouse.getposition()
  3. control.pointtoscreen

all methods return bad coordinates in application, example, when should 1262 x shows 1576 x etc. (all cordinates 1.25 bigger real ones).

i've tried application on other computers , works fine, tried same resolution other computers, changed icon scaling well, no luck.

what can wrong ?

thanks.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -