Locking B3D scaled window to certain sizes

Blitz3D Forums/Blitz3D Programming/Locking B3D scaled window to certain sizes

I have my reasons.... Any ideas anyone as to how this could be achieved?

I partly need this technique as I need my graphics to survive a window size change and if I manually set another windowed mode in code then I get an error as I seem to remember that you need to load your images after calling the graphics command. I do not want to restart my game just to change this window size basically which is why I`m seeking a different approach.

I also need my graphics to maintain their correct aspect ratio so simply using a scalable window is not good enough, it has to be able to be changed to set sizes\resolutions.

Jason.