al_show_native_message_box - Online Linux Manual PageSection : 3
Updated :
Source : Allegro reference manual
Note :

NAMEal_show_native_message_box − Allegro 5 API

SYNOPSIS #include <allegro5/allegro_native_dialog.h> int al_show_native_message_box(ALLEGRO_DISPLAY *display,    char const *title, char const *heading, char const *text,    char const *buttons, int flags)

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: ALLEGRO_MESSAGEBOX_WARN  The message is a warning. This may cause a different icon (or other effects). ALLEGRO_MESSAGEBOX_ERROR  The message is an error. ALLEGRO_MESSAGEBOX_QUESTION  The message is a question. ALLEGRO_MESSAGEBOX_OK_CANCEL  Display a cancel button alongside the "OK" button. Ignored if buttons is not NULL. ALLEGRO_MESSAGEBOX_YES_NO  Display Yes/No buttons instead of the "OK" button. Ignored if buttons is not NULL. 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: • 0 if the dialog window was closed without activating a button. • 1 if the OK or Yes button was pressed. • 2 if the Cancel or No button was pressed. 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: int button = al_show_native_message_box(   display,   "Warning",   "Are you sure?",   "If you click yes then you are confirming that \"Yes\\"\ "   "is your response to the query which you have "   "generated by the action you took to open this "   "message box.",   NULL,   ALLEGRO_MESSAGEBOX_YES_NO );
0
Johanes Gumabo
Data Size   :   9,516 byte
man-al_show_native_message_box.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 180,512
Visitor ID   :     :  
Visitor IP   :   3.23.103.14   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence|91|al_show_native_message_box.3|97|\"Yes\\"\ "|\ \ "If\ you\ click\ yes\ then\ you\ are\ confirming\ that\ \\"Yes\\"\ " )