Usually you should create an Window that is shown to report any errors
that occur in your application. However sometimes during testing or for
very rare errors you may want to use the RISC OS standard error box to
report errors. Use the report_error
functions to
show these errors. This error box stops user interaction with other
Windows until it is dismissed, which is why it is not recommended for
standard error reporting.
For simple messages the show_message
can be used
to show a window which is sized to fit the text it is given. This
window does not stop user interaction with any other Windows,
If you wish to ask a simple yes/no type question you can use
show_question
. This runs the commands it
is given when the user selects yes or no. It does not
stop interaction with any other windows. show_question_as_menu
can be used if you want the question window to be cancelled if
the user attempts to click anywhere else.