Set size of window (in scale mode)

Blitz3D Forums/Blitz3D Beginners Area/Set size of window (in scale mode)

Hi,

Is it possible to set the size of the window when in scaled mode?

e.g. Graphics3D 320,240,0,3 but then say to scale the window to size 640x480 (thus making the graphics a bit blocky). You can do it manually by dragging the edge of the window, but how do you do it programatically?

Cheers,
LW.

You have to use C++. Just write a DLL and Decls file then add it to the Blitz command set.

Yes, I've read how to do it. I'll post the code in a minute after I find it. It's short though.

Edit:

Graphics3D 160,120,32,2 ; Starting size of the window
Print GraphicsWidth()+" x " +GraphicsHeight()
WaitKey

Graphics3D 640,480,32,3 ; Resolution of the window, but the window size stays the same
Print GraphicsWidth()+" x " +GraphicsHeight()
WaitKey


Interesting, thanks.

Cheers,
LW.