Liberty BASIC Community Forum
« DisplayWidth and DisplayHeight »

Welcome Guest. Please Login or Register.
Nov 17th, 2017, 10:24pm


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

Problems installing Liberty BASIC? Read the Vista/Win7 Installation FAQ
Looking for a categorized List of Bug Reports? Visit the Liberty BASIC Bug Tracker

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: DisplayWidth and DisplayHeight  (Read 111 times)
Rod
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5560
xx DisplayWidth and DisplayHeight
« Thread started on: Nov 17th, 2016, 02:58am »

have noticed over the last few months that DisplayWidth and DisplayHeight no longer cause the window to be stretched full screen. Or am I imagining it? Unless you use _FS there is a border left round other window types. I don't use full screen windows very often. Anyone else noticed the change?


Code:
    nomainwin
    WindowWidth  = DisplayWidth
    WindowHeight = DisplayHeight

    'these open statements used to fill the screen
    open "Test" for window as #1 'this does not fill the screen
    'open "Test" for window_nf as #1 'this does not fill the screen
    'open "Test" for graphics as #1 'this does not fill the screen
    'open "Test" for dialog as #1 'this does not fill the screen

    'these open statements still do
    'open "Test" for graphics_fs as #1' this does fill the screen
    'open "Test" for dialog_fs as #1 'this does fill the screen

    #1 "trapclose [quit]"
    wait

    [quit]
    close #1
    end 


« Last Edit: Nov 17th, 2016, 02:59am by Rod » User IP Logged

tsh73
Board Moderator

member is offline

Avatar

Anatoly (real name)


PM

Gender: Male
Posts: 1686
xx Re: DisplayWidth and DisplayHeight
« Reply #1 on: Nov 17th, 2016, 08:08am »

Under which king, Bezonian? speak, or die.* Windows?

Under XP, I see small rounded corners of descktop showing from behind window (in window) etc, just because window frame is rounded. Everything else is covered. (actually dialog seems a bit smaller)
BUT
then I make it maximised I get very same full-screen cover as graphics_fs

(and second icon top left on graphics_fs suggests it's indeed maximized)

So I think only diference between FS and ordinary is that FS is maximised. And it likely always was that way (but other Windows might indeed differ)

*Funny thing I didn't actually read that. It's cross-quote from Lewis Carroll.
User IP Logged

damned Dog in the Manger
Rod
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5560
xx Re: DisplayWidth and DisplayHeight
« Reply #2 on: Nov 17th, 2016, 08:12am »

Win 10, the border is noticeable 7pixels left and right and 5 pixels at the foot. No big deal because FS works and so too window_popup. I don't like full screen apps anyway.
User IP Logged

Chris Iverson
Administrator
ImageImageImageImageImage


member is offline

Avatar

20% Cooler


Homepage PM

Gender: Male
Posts: 2282
xx Re: DisplayWidth and DisplayHeight
« Reply #3 on: Nov 17th, 2016, 10:10am »

Same thing on Windows 7. Unless you specifically use a borderless window, the border area will still be there.

Unless that's not what you mean...? (I'll have to test at home, on my Win 10 machine.)
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

Liberty BASIC Community Wiki
Wikispaces
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