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 :
- system.windows.forms.control.mouseposition;
- mouse.getposition()
- 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
Post a Comment