[DUG] Windows 10 issues

Dennis Chuah dennis_cs_chuah at hotmail.com
Fri Jul 31 10:46:03 NZST 2015


Windows does not change the size of the screen at font sizes other than 
100%. What happens is for non-DPI aware applications, it will always report 
96 dpi, with a reduced screen pixel count. Windows then scales the 
application display, in the process making it look blocky.

Call SetProcessDPIAware in your app and you will get different readings for 
screen.pixelsperInch.

Regards,
Dennis.
-----Original Message----- 
From: John Bird
Sent: Friday, July 31, 2015 10:30 AM
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Windows 10 issues

Some progress:

Delphi 2007 now working again, and the fix was simple - run the install 
again and take the repair option.  Was quick, and just needed some setup 
files into some of the .NET folders I am guessing.


Windows setting (right click desktop/Display settings)
"Change the size of text, apps and other items: 100% (Recommended)"

The settings of the "Make Text and other objects larger"  to 125% is quite a 
puzzle.   Windows 10 does it by not by increasing the DPI - it reduces the 
size of the screen.

I have a program to display many of the screen parameters that Delphi can 
use - here are interesting results - compiled under XE8

With  text size at 100%  then  screen.width and screen.height are 1920 x 
1080
When text size is 125% then screen.width and screen.height are 1536 x 864

This means it is effectively setting the screen to not its native 
resolution.

Similarly screen.pixelsperInch remains at 96  (on Windows 7/8 it altered to 
120DPI for text size at 125% I recall).

TOSVersion.tostring  reports Windows 8 (version 6.2 Build xxxx)   so to 
report that the OS is Windows 10 requires extras in building the program. 
I would rather like to get better information on this.

If others are interested I have screenshots of the program running under 
different settings, and the smudging of fonts at the higher text size is 
obvious.

I also noticed some quite basic things like when set at text size 125% then 
with the mouse over a window close button the red flickers on and off. 
The impression is that Windows 10  is really only designed to be set at text 
size 100%.   This means that with a HD screen icons and default text are 
small but sharp.


As far as Network and Wireless drivers for Windows 10 - no progress after 2 
hour long calls to HP support.   I have seen googling that problems with 
network and wireless drivers is common with HP laptops in the last day. 
Looks like they were just not ready with the drivers so be cautious.

John

********************************************************************************
This email or attachment(s) may contain confidential or legally privileged
information intended for the sole use of the addressee(s). Any use, 
redistribution,
disclosure, or reproduction of this message, except as intended, is 
prohibited.
If you received this email in error, please notify the sender and erase all
copies of the message, including any attachments.

Any views or opinions expressed in this email (unless otherwise stated) may 
not
represent those of Pegasus Health Ltd.

********************************************************************************

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with 
Subject: unsubscribe 



More information about the Delphi mailing list