[ALLY] Screen Fetch Re:(2)
From: allenk:powerup:au at: 31-Jul-2000 2:27
----- Original Message -----
From: <[dsimmers--free4all--co--uk]>
To: <[ally--rebol--com]>
Sent: Sunday, July 30, 2000 7:50 PM
Subject: [ALLY] Screen Fetch Re:
> > Is there any way to fetch the current resolution of the video display in
> > order to resize the output of the viewable face. Im trying to avoid
> > hardcoding dimensions.
> >
> > Paul Tretter
> > Pauls REBOL Page
> >
> >
>
> You can look at system/view/screen-face/size but in Beta 4.1 this only
gives
> the resolution at the instant when REBOL/View is started: if the screen
> resolution is changed while an instance of REBOL/View is running
> system/view/screen-face/size is not updated.
>
> Derek Simmers
>
Wow must be a stack of email gone missing..I sent an answer to this 8 hours
ago..
Just a note on system/view/screen-face/size. Do a test script to see if it
is reporting the correct resolution. From some comments here a while back it
seems the value isn't initialised until after the first face is shown on
some platforms.(may have been fixed in beta 4.1 though) I know that the
experimental BeOS/View has that problem.
Cheers,
Allen K