Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 BrushData w/ Windows 10 laptop and touch screen
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dale.Shetler

6 Posts

Posted - 05 Jan 2016 :  17:42:00  Show Profile  Reply with Quote
I have a new Windows 10 laptop with a touch screen. When my application uses the brushdata class to draw up a rectangle for selecting data, the rectangle is not drawn in the correct location.

I have a second monitor that I plug into the laptop. When the application is on that monitor, everything is fine. But the laptop screen is not correct.

I downloaded the latest QCChart2DDemoR2.zip file and ran the demo application. On the "mouse" tab, the same thing happens. This was reported by one of our customers and we were able to duplicate it with our code and the latest QC demo.

Any idea what is going on?

Dale

quinncurtis

1534 Posts

Posted - 06 Jan 2016 :  11:09:47  Show Profile  Reply with Quote
Strange problem. Fortunately there is an almost identical question posted on a Microsoft support forum.

The problem is associated with the use of the .Net ControlPaint.DrawReversibleFrame (XOR) method on Surface/Windows computers set up for some sort of display scaling.

https://social.msdn.microsoft.com/Forums/en-US/3813fb77-363b-4244-8ff4-fd1dc7aa161e/rubberband-line-and-rubberband-rectangle-anomaly-on-surface-pro-2-win81?forum=csharpgeneral

I would expect that since the ControlPaint XOR methods go directly to display hardware, they may be by-passing some intermediate scaling. The only solution at this time is to revert the Control Panel | Display settings back to 1:1 for the use of programs which utilize the particular program affected.

See of that solves the problem and post your results.
Go to Top of Page

Dale.Shetler

6 Posts

Posted - 07 Jan 2016 :  10:44:19  Show Profile  Reply with Quote
Yes, setting our screen resolution back to 100% (from 125%) seems to have fixed it here. I assume it will also fix it for our customer. I will post something if it does NOT fix it. Thank you.

Dale
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07