IupMessage
12
IupMessage
@serial = 851
dialog
Description
[distinct from IupMessageDlg] Shows a modal dialog containing a message. It simply creates and popup a IupMessageDlg.
Include
iup.e
Namespace
iup
Signature
public procedure IupMessage(object title = NULL, object msg = NULL)
Creation
title: dialog title
message: text message contents
Notes
The IupMessage function shows a dialog centralized on the screen, showing the message and the “OK” button. The ‘\n’ character can be added to the message to indicate line change.
In C there is an utility function to help build the message string, it accepts the same format as the C sprintf: void IupMessagef(const char *title, const char *format, ...); [in C]
The dialog uses a global attribute called "PARENTDIALOG" as the parent dialog if it is defined. It also uses a global attribute called "ICON" as the dialog icon if it is defined (used only in Motif, in Windows MessageBox does not have an icon in the title bar).
Example
See Also
IupFileDlg | IupMessageDlg | IupFontDlg | IupProgressDlg | IupAlarm | IupGetFile | IupGetColor | IupGetParam | IupGetText | IupListDialog | IupMessage | IupScanf | IupLayoutDialog | IupElementPropertiesDialog |
Not Categorized, Please Help
|