IupMessageAlarm
| Definition: |
include pGUI.e
integer res = IupMessageAlarm(Ihandln parent, nullable_string title, string message, buttons) |
| Description: |
Shows a modal dialog containing a question message, similar to IupAlarm. It simply creates and pops up an IupMessageDlg with DIALOGTYPE=QUESTION. parent: parent dialog, can be NULL. title: dialog’s title, can be NULL. It can be a language pre-defined string without the "_@" prefix. message: text message contents. It can be a language pre-defined string without the "_@" prefix. buttons: list of buttons. Can have values: "OK", "OKCANCEL", "RETRYCANCEL", "YESNO", or "YESNOCANCEL". Returns: the number of the button selected by the user (1, 2 or 3). |
| pwa/p2js: | Not supported. See also the comments on IupMessage. |
| See Also: | IupGetFile, IupGetParam, IupListDialog, IupAlarm, IupMessage, IupMessageDlg |
| Notes: |
If parent is NULL the title defaults to "Attention!" and tries the global attribute "PARENTDIALOG" as the parent dialog.
The dialog is shown centered relative to its parent. |