Change Resolution

BlitzPlus Forums/BlitzPlus Programming/Change Resolution

OK Walter. I decided since this was a real toughie I'd go ahead and write the DLL for you. I take no responsiblity for any damage this may do to anyone's monitor :)

Download changeres.dll
; Required Userlib
; .lib "changeres.dll"
; ChangeRes%()

Graphics 640, 320, 16, 2

; Calling ChangeRes
ChangeRes

; This function checks to see if the users desktop width is less than 1024.
; If it is, the desktop is set to 1024x768. The user will receieve an error
; message if their monitor doesn't support this mode. Their current bit depth
; will be preserved, but the refresh rate will not. A default of 60hz will most
; likely be used. This is because I do not feel confident fiddling with a 
; monitor's refresh rate.

WaitKey()
Let me know how she flows.