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

Welcome Guest. Please Login or Register.
Mar 17th, 2018, 05:51am

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 764 times)
Guy Canida
New Member

member is offline



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 ?

User IP Logged

Chris Iverson

member is offline


20% Cooler

Homepage PM

Gender: Male
Posts: 2330
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

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls