IF you mean A MAxGUI App, then this should do it:
If you mean a normal Graphics App then look at :
http://www.blitzbasic.com/Community/posts.php?topic=56183
Local Window:TGadget = CreateWindow("Test",20,20,600,400) Repeat WaitEvent() Print CurrentEvent.ToString() Select EventID() Case EVENT_WINDOWCLOSE If Confirm("Really Quit ?") = True Then End End Select Forever
If you mean a normal Graphics App then look at :
http://www.blitzbasic.com/Community/posts.php?topic=56183