window modal

BlitzMax Forums/BlitzMax Beginners Area/window modal

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.

win:tgadget = CreateWindow("",0,0,GadgetWidth(Desktop()),GadgetHeight(Desktop()))
win1:tgadget = CreateWindow("",0,0,320,240,win)
DisableGadget(win)

While EventID()<>EVENT_WINDOWCLOSE
	WaitEvent()
Wend