Changing frequency

Blitz3D Forums/Blitz3D Beginners Area/Changing frequency

Hi, is there anyway in B3D to change the monitors refresh rate?

e.g. Graphics3d 1024,768,32,0, 60

60 being the frequency i want.

Thanks
Jim

Even if there's a way, it is by most users considered rude to do so. Especially if the machine doesn't support the rate, or if your game crashes without to restore the original rate.

You can change the refreshrate for the desktop using ChangeDisplaySettings in user32.dll, however when using the DirectX device in fullscreen mode, I'm not sure if that has any effect. With a .DLL it could be possible to change the DX refresh rate.

>Hi, is there anyway in B3D to change the monitors refresh
>rate?

Yes, but you need a DLL, like Bram32 mentioned. BUT, when playing around with peoples hardware you should understand what you are doing and that you will be accountable if you break their hardware.

Andy

Thanks guys. My game looks smoother in 60Hz but it sounds like a good idea not to mess with the monitor refresh rate.

Jim