Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ok..Windows ScreenRes goes fullscreen but anything else...
#1
Doesn't. Is they any way around this? What i mean is if you do this:

Code:
DIM ScrWidth as unsigned integer
DIM ScrHeight as unsigned integer

#if defined(__FB_WIN32__)
#include "windows.bi"
ScrWidth = GetSystemMetrics(SM_CXSCREEN)
ScrHeight = GetSystemMetrics(SM_CYSCREEN)
#else
ScrWidth=500
ScrHeight=600
#endif

Screenres ScrWidth,ScrHeight,32,,1
SLEEP

if you are on windows you get a full screen view...but not on anything else.
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#2
Fullscreen resolutions work only if your video card supports them.
500x600 is not suported in any gfx card I know of.
Try ScrWidth=640, ScrHeight=480, that's standard.
Antoni
Reply
#3
you can use screenlist to get available modes,
in dos they should all go fullscreen

this is from the wiki

DIM AS INTEGER mode, w, h
'' Find which 8bit resolutions are supported
mode = SCREENLIST(8)
WHILE (mode)
w = HIWORD(mode)
h = LOWORD(mode)
PRINT STR$(w) + "x" + STR$(h)
mode = SCREENLIST
WEND

sleep
EVEN MEN OF STEEL RUST.
[Image: chav.gif]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)