03-23-2023, 04:02 PM
Hey all,
I'm trying to display full screen, using example #1 from the wiki (code below), but for some reason the full screen doesn't work.
It's been a while since I used _FullScreen, but I don't recall ever having any problems with it.
The only thing that changed since then is I changed my monitor from an older 4k Polaroid TV (at 1920x1080) to a Vizio TV (at 1360x768).
This is with QB64PE 3.6.0, but I also get the same behavior with QB64 2.0.2.
Does anyone know why this might be happening?
Here is what I am seeing most of the time (black with white outline where the program window was before it went fullscreen):
Here is another test which seems to result in different output every time I run it (but the _FullScreen never works):
Any help appreciated...
I'm trying to display full screen, using example #1 from the wiki (code below), but for some reason the full screen doesn't work.
It's been a while since I used _FullScreen, but I don't recall ever having any problems with it.
The only thing that changed since then is I changed my monitor from an older 4k Polaroid TV (at 1920x1080) to a Vizio TV (at 1360x768).
This is with QB64PE 3.6.0, but I also get the same behavior with QB64 2.0.2.
Does anyone know why this might be happening?
Code: (Select All)
'Screen 12
Screen _NewImage(800, 600, 32): _ScreenMove 0, 0
_FullScreen
If _FullScreen = 0 Then _FullScreen _Off 'check that a full screen mode initialized
Line (100, 100)-(500, 400), 13, BF
Sleep
System
Here is what I am seeing most of the time (black with white outline where the program window was before it went fullscreen):
Here is another test which seems to result in different output every time I run it (but the _FullScreen never works):
Code: (Select All)
' Running in any of the _FullScreen modes doesn't work...?
' Enabling any of the _FullScreen lines causes one of:
' * displays black with white outline of window & nothing inside, and frozen mouse pointer
' * no screen updating, IDE window is displayed with no screen updating
' * immediately reverts to _FullScreen _Off
' which changes depending on whether program is saved, run 1st or 2nd time, etc.
Screen _NewImage(800, 600, 32): _ScreenMove 0, 0
'_FullScreen
'_FullScreen _SquarePixels
'_FullScreen _Stretch
If _FullScreen = 0 Then _FullScreen _Off 'check that a full screen mode initialized
Line (100, 100)-(500, 400), _RGB32(255, 0, 0), BF
Line (30, 20)-(200, 200), _RGB32(0, 255, 0), BF
Line (400, 300)-(550, 450), _RGB32(0, 0, 255), BF
Locate 30, 1: Color _RGB32(255, 255, 255)
Print "Press any key to exit"
Sleep
System
Any help appreciated...