|
NAMEal_show_native_message_box - Allegro 5 APISYNOPSIS
DESCRIPTIONShow a native GUI message box. This can be used for example to display an error message if creation of an initial display fails. The display may be NULL, otherwise the given display is treated as the parent if possible.The message box will have a single “OK” button and use the style informative dialog boxes usually have on the native system. If the buttons parameter is not NULL, you can instead specify the button text in a string, with buttons separated by a vertical bar (|). Note: buttons parameter is currently unimplemented on Windows. The flags available are:
al_show_native_message_box(3) may be called without Allegro being installed. This is useful to report an error during initialisation of Allegro itself. Returns:
If buttons is not NULL, the number of the pressed button is returned, starting with 1. All of the remaining parameters must not be NULL. If a message box could not be created then this returns 0, as if the window was dismissed without activating a button. Example:
Visit the GSP FreeBSD Man Page Interface. |