MessageBox

BlitzMax Forums/MaxGUI Module/MessageBox

Moraldi(Posted 2007) [#1]
Is it possible to have my OWN title in a message box?. I don't understand why MaxGUI does not do the most simplest thing all over the world: Just an API call with a third parameter:
Notify messageboxtitle$, message$, serious!


WendellM(Posted 2007) [#2]
While I agree that would be more convenient, AppTitle currently does the job:

AppTitle = "Messagebox Title"
Notify "This is my message"

So you could use something like:
AppTitle = "App Title"
Notify2 "Test message", "Test Title"
Print AppTitle ' verify that it was preserved

Function Notify2( text$, title$ = "", serious% = False )
	Local saved$ = AppTitle
	AppTitle = title
	Notify text, serious
	AppTitle = saved
End Function



Moraldi(Posted 2007) [#3]
Thanks WendellM. Sure this helps a lot.

But people int BRL didn't think that when implementing your own exception handler then you need a more flexible solution because you must pass different text arguments into a notify function due to different exceptions handlers.

In any case thanks again