Page 1 of 1

Posted: Mon Oct 14, 2002 3:06 am
by BackupUser
Restored from previous forum. Originally posted by WolfgangS.

Hi !
I´m wondering why OpenScreen only have success, if i set SetRefreshRate() to 0 !

InitSprite()
SetRefreshRate(1)
If OpenScreen(640,480,32,"bla")=0
MessageRequester("","Screen",0):End:EndIf
Delay(1000)
CloseScreen()

Any help ?

MFG
:)WolfgangS

Posted: Mon Oct 14, 2002 6:09 pm
by BackupUser
Restored from previous forum. Originally posted by tinman.
Originally posted by WolfgangS
I´m wondering why OpenScreen only have success, if i set SetRefreshRate() to 0 !
Maybe the refresh rate you have set is not supported by the card but 0 tells the screen to open with a default or best choice refresh rate?


--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)

Posted: Mon Oct 14, 2002 6:52 pm
by BackupUser
Restored from previous forum. Originally posted by Holger.

I tried several refresh rates my monitor supports. And it worked perfectly.

Posted: Mon Oct 14, 2002 7:15 pm
by BackupUser
Restored from previous forum. Originally posted by Danilo.

SetRefreshRate(1) is a bit low, isnt it ??

Better use SetFrameRate(1) if you really
want 1 frame / second.

cya,
...Danilo

(registered PureBasic user)

Posted: Tue Oct 15, 2002 4:17 am
by BackupUser
Restored from previous forum. Originally posted by WolfgangS.

Hi !
i tried ALL RefreshRates from 0 to 150 and all execpt 0 fails ... probably some problems on my local computer here ... :cry:

Thanks anyway ...
:)WolfgangS

Posted: Tue Oct 15, 2002 11:16 am
by BackupUser
Restored from previous forum. Originally posted by fred.

All from 0 to 150 is useless. Typical refresh rate are 60 (hz), 75, 85, 100.. Just look in the sreen window config in the moniteur panel, you should see the available refresh rates.

Fred - AlphaSND

Posted: Tue Oct 15, 2002 1:53 pm
by BackupUser
Restored from previous forum. Originally posted by tranquil.
Originally posted by fred

All from 0 to 150 is useless. Typical refresh rate are 60 (hz), 75, 85, 100.. Just look in the sreen window config in the moniteur panel, you should see the available refresh rates.

Fred - AlphaSND
I think he means that he tries every value from 0 up to 150 and everytimes he gets 0 as a result of fail.

Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User