![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
A Message Box is a convenience class which provides a dialog for very simple common yes/no type interactions with the user. More...
#include <FXMessageBox.h>
Public Types | |
| enum | { ID_CLICKED_YES = FXDialogBox::ID_LAST, ID_CLICKED_NO, ID_CLICKED_OK, ID_CLICKED_CANCEL, ID_CLICKED_QUIT, ID_CLICKED_SAVE, ID_CLICKED_SKIP, ID_CLICKED_SKIPALL, ID_CLICKED_YESALL, ID_CLICKED_NOALL, ID_LAST } |
Public Member Functions | |
| long | onCmdClicked (FXObject *, FXSelector, void *) |
| long | onCmdCancel (FXObject *, FXSelector, void *) |
| FXMessageBox (FXWindow *owner, const FXString &caption, const FXString &text, FXIcon *ic=NULL, FXuint opts=0, FXint x=0, FXint y=0) | |
| Construct message box with given caption, icon, and message text. | |
| FXMessageBox (FXApp *app, const FXString &caption, const FXString &text, FXIcon *ic=NULL, FXuint opts=0, FXint x=0, FXint y=0) | |
| Construct free floating message box with given caption, icon, and message text. | |
Static Public Member Functions | |
| static FXuint | error (FXWindow *owner, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4 |
| Show a modal error message. | |
| static FXuint static FXuint | error (FXApp *app, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4 |
| Show modal error message, in free floating window. | |
|
static FXuint static FXuint static FXuint | warning (FXWindow *owner, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4 |
| Show a modal warning message The text message may contain printf-tyle formatting commands. | |
|
static FXuint static FXuint static FXuint static FXuint | warning (FXApp *app, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4 |
| Show modal warning message, in free floating window. | |
|
static FXuint static FXuint static FXuint static FXuint static FXuint | question (FXWindow *owner, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4 |
| Show a modal question dialog The text message may contain printf-tyle formatting commands. | |
|
static FXuint static FXuint static FXuint static FXuint static FXuint static FXuint | question (FXApp *app, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4 |
| Show modal question message, in free floating window. | |
|
static FXuint static FXuint static FXuint static FXuint static FXuint static FXuint static FXuint | information (FXWindow *owner, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4 |
| Show a modal information dialog The text message may contain printf-tyle formatting commands. | |
|
static FXuint static FXuint static FXuint static FXuint static FXuint static FXuint static FXuint static FXuint | information (FXApp *app, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4 |
| Show modal information message, in free floating window. | |
A Message Box is a convenience class which provides a dialog for very simple common yes/no type interactions with the user.
The message box has an optional icon, a title string, and the question which is presented to the user. It also has up to three buttons which furnish standard responses to the question. Message boxes are usually ran modally: the question must be answered before the program may continue.
| static FXuint FX::FXMessageBox::error | ( | FXWindow * | owner, |
| FXuint | opts, | ||
| const char * | caption, | ||
| const char * | message, | ||
| ... | |||
| ) | [static] |
Show a modal error message.
The text message may contain printf-tyle formatting commands.
|
|