SDuperStrict and MaxGUI?

BlitzMax Forums/BlitzMax Beginners Area/SDuperStrict and 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.

Well, in the code I posted I had it set up like this.


Local MainWindow:TGadget
MainWindow:TGadget = CreateWindow("Test",200,200,800,600,0,style)



I changed it to the following:


SuperStrict

Local style:Int = WINDOW_TITLEBAR|WINDOW_RESIZABLE|WINDOW_MENU|WINDOW_STATUS

MainWindow:TGadget = CreateWindow("Test",200,200,800,600,0,style)



Repeat
	
	WaitEvent()

	
	
	Select EventID()
	
		Case EVENT_WINDOWCLOSE
			End
			
	End Select
	
	
Until KeyHit(KEY_ESCAPE)



The above throws the error " Identifier MainWindow not found"