Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 814

Summary: Zoom rectangle is missplaced at 150% DPI
Product: .NET TeeChart Reporter: narcís calvet <narcis>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: minor CC: chris, jay.cincotta
Priority: Normal    
Version: TeeChart.NET 2014 4.1.2014.02060   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=4&t=15014
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description narcís calvet 2014-06-26 03:53:35 EDT
When TeeChart is run on Windows 7 at 150% (144 DPI) with "XP style DPI scaling" disabled (the default value at 150%), the dotted-line zoom rectangle providing visual feedback to the user while zooming is drawn at the wrong location. The zoom rectangle appers too higher and too far to the left. This is because the drawing algorithm is not taking into consideration the proper DPI scaling factor. Same happens in Windows 8 changing the size of all items at Control Panel\Hardware and Sound\Display.
Comment 1 christopher ireland 2014-07-15 04:30:37 EDT
This question has been asked on StackOverflow:
http://stackoverflow.com/questions/24513090/pointtoscreen-incorrect-using-desktopdpioverride

but no answers have been given. I'm afraid I can't find the reason for this effect.