Simple question on MaxGUI

BlitzMax Forums/BlitzMax Beginners Area/Simple question on MaxGUI

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

René is correct about MaxGUI gadgets not working fullscreen. However, it is possible to have a borderless window the size of the desktop with a canvas covering all of that and gadgets on top of the canvas. It's not "real" fullscreen, and your graphic area size must match the desktop's, but it looks like fullscreen and it's a way to use GUI gadgets in a "pseudo-fullscreen" setting:

win:TGadget = CreateWindow( "", 0,0, GadgetWidth( Desktop() ), GadgetHeight( Desktop() ), Null, 0 )
can:TGadget = CreateCanvas( 0,0, GadgetWidth(win), GadgetHeight(win), win )
but:TGadget = CreateButton( "Quit", 10,10, 60,24, can )

SetGraphics CanvasGraphics(can)
Cls
Flip

Repeat
	WaitEvent
Until EventSource() = but
I agree with Deux about a graphical GUI (like Filax's) being useful. I used to use Yappy's XLnt GUI in Blitz3D and have been thinking about getting IGlass (now that modules don't need rebuilding with each BlitzMax update).