Aros/Developer/Zune/MessageBox
From Wikibooks, the open-content textbooks collection
< Aros | Developer/Zune
Sometimes it is necessary to open a MessageBox that gives a short Message to the user. That can be an error message or something like that.
For this purpose, there is ZUNE's MUI_Request.
This is how it works.
MUI_Request(app, window, 0L, "MessageBox Title", "Close button text", "Your Message Text", NULL); app and window are your ZUNE ApplicationObject and WindowObject Objects.
To make it work, you need to include <proto/muimaster.h>
And this is how it looks:
