Cloes/Maximize/Minimize buttons

BlitzPlus Forums/BlitzPlus Programming/Cloes/Maximize/Minimize buttons

If you lock the canvas using SetGadgetLayout it will resize with the window.
http://www.blitzbasic.com/bpdocs/command.php?name=SetGadgetLayout&ref=gui_cat

Obviously canvas stretching doesn't really work well unless width/height ratio is consistent so a resizable window doesn't sound ideal, but you CAN put min/max buttons on a fixed size window if you use the code posted above. Then you could have 3 window states of Maximized/minimized/default size.

Another option would be to create a resizeable window and create the canvas as big as the screen and then alter your code to respect the current clientwidth/height. This would be less attractive unless your users would benefit from any height/width combination

If you REALLY want to have a fixed window that you can maximize to full screen (with no title bar) then I you can do it with TWO window. A fixed window that is shown when the application appears minimized or windowed and a fullscreen/notitle window which is filled by a canvas which is displayed when the application is Maximized.
To make this work you would show/hide the windows as the user changes views and cange your target canvas.
However, if you want to set the fullscreen window's resolution then you have a completely different barrel of rotten apples...

Hopefully one of these approaches will help with what your application needs.