Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-05

Screen resolution on Windows

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sandro Cumerlato

Hello,
"Screen.Width" and "Screen.Height" were returning wrong values (1440x960) on my 2160x1440 display (Windows 8.1 OS).

I had to enable "Enable DPI Awareness (for Vista+)" project option to retrieve correct values.

I didn't expect such trick, is it a bug?

Thank you in advance for your clarifications.

Best regards,
Sandro Cumerlato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150502/9ef87599/attachment.html>

Reply by email