Any way to hide/disable the 'close' gadget?

BlitzMax Forums/BlitzMax Programming/Any way to hide/disable the 'close' gadget?

The event system has *always* been separate from MaxGUI.

I think the confusion comes from the fact that the event system was added to BMax at the same time MaxGUI was released.
Framework BRL.Basic 
Import BRL.D3D7Max2D
Import BRL.EventQueue

Graphics 400, 300, 0

Repeat
	cls
	DrawText MilliSecs(), 170, 144
	Flip	
Until (PollEvent() = EVENT_APPTERMINATE) And Confirm("Really Quit?")

End
Unless you're gonna be using other events, it's easier (and probably a little quicker?) to just use AppTerminate().


AFAICT, MaxGUI no longer imports 'brl.eventqueque' so Fabian's apps are ~5KB smaller. ;o)