Liberty BASIC Community Forum
« DisplayWidth=1280 DisplayHeight=720 »

Welcome Guest. Please Login or Register.
Nov 20th, 2017, 06:00am


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: DisplayWidth=1280 DisplayHeight=720  (Read 658 times)
Guy Canida
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 4
xx DisplayWidth=1280 DisplayHeight=720
« Thread started on: Sep 25th, 2014, 07:47am »

DisplayWidth and DisplayHeight values are no longer those of the actual display, ie 1920 1080 but 1280 and 720 !
Any api dll that I tried (GetWindowRect, GetSystemMetrics, GetDeviceCaps) return 1280 and 720.

On the PC where this happens, I still have a tkn called with a renamed run404.exe that works fine.
I copied the program folder to another location and the tkn fails and return 1280 by 720 !

On 2 other PCs, I've no problems.

I found a fix. Set the pixel depth to 16 instead of the default 32.

I run LB 4.04 pro licensed.

Any idea what to do ?

Thanks.
Guy.
User IP Logged

Chris Iverson
Administrator
ImageImageImageImageImage


member is offline

Avatar

20% Cooler


Homepage PM

Gender: Male
Posts: 2282
xx Re: DisplayWidth=1280 DisplayHeight=720
« Reply #1 on: Sep 26th, 2014, 2:32pm »

I'm afraid I don't know what the problem is.

LB is able to detect my screen size just fine.


Do you have LB configured with any application compatibility settings?
User IP Logged

"Do you believe in destiny?" - Pyrrha Nikos, RWBY
"With what wish will your Soul Gem shine?" - Kyubey, Puella Magi Madoka Magica
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls