21 #ifndef FXMESSAGEBOX_H 22 #define FXMESSAGEBOX_H 25 #include "FXDialogBox.h" 34 MBOX_OK_CANCEL = 0x20000000,
35 MBOX_YES_NO = 0x30000000,
36 MBOX_YES_NO_CANCEL = 0x40000000,
37 MBOX_QUIT_CANCEL = 0x50000000,
38 MBOX_QUIT_SAVE_CANCEL = 0x60000000,
39 MBOX_SKIP_SKIPALL_CANCEL = 0x70000000,
40 MBOX_SAVE_CANCEL_DONTSAVE = 0x80000000,
41 MBOX_YES_YESALL_NO_NOALL_CANCEL = 0xA0000000
50 MBOX_CLICKED_CANCEL = 4,
51 MBOX_CLICKED_QUIT = 5,
52 MBOX_CLICKED_SAVE = 6,
53 MBOX_CLICKED_SKIP = 7,
54 MBOX_CLICKED_SKIPALL = 8,
55 MBOX_CLICKED_YESALL = 9,
56 MBOX_CLICKED_NOALL = 10
76 void initialize(
const FXString& text,
FXIcon* ic,FXuint whichbuttons);
78 long onCmdClicked(
FXObject*,FXSelector,
void*);
79 long onCmdCancel(
FXObject*,FXSelector,
void*);
106 static FXuint error(
FXWindow* owner,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
111 static FXuint error(
FXApp* app,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
117 static FXuint warning(
FXWindow* owner,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
122 static FXuint warning(
FXApp* app,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
128 static FXuint question(
FXWindow* owner,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
133 static FXuint question(
FXApp* app,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
139 static FXuint information(
FXWindow* owner,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
144 static FXuint information(
FXApp* app,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
DialogBox window.
Definition: FXDialogBox.h:37
Window is the base class for all widgets in FOX.
Definition: FXWindow.h:130
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
A Message Box is a convenience class which provides a dialog for very simple common yes/no type inter...
Definition: FXMessageBox.h:69
Closes the dialog, accept the entry.
Definition: FXDialogBox.h:51
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42