Aros/Developer/Zune/Examples/Requester

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.

Sourcecode
This is how it works:

Note: In the above example, to save typing and get a clearer look, some C macros have been used (ApplicationObject, WindowObject, SubWindow, set, and get), which are defined in , see there for more C macros, and what Zune's macros actually do.

AROS native compiler command line
gcc [sourcefile] -lmui

Screenshot
And this is how it looks:



AROS version
This example tested with AROS of 2010-03-10.