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,
42 MBOX_YES_YESALL_NO = 0xB0000000,
43 MBOX_YES_NO_NOALL = 0xC0000000
52 MBOX_CLICKED_CANCEL = 4,
53 MBOX_CLICKED_QUIT = 5,
54 MBOX_CLICKED_SAVE = 6,
55 MBOX_CLICKED_SKIP = 7,
56 MBOX_CLICKED_SKIPALL = 8,
57 MBOX_CLICKED_YESALL = 9,
58 MBOX_CLICKED_NOALL = 10
78 void initialize(
const FXString& text,
FXIcon* ic,FXuint whichbuttons);
80 long onCmdClicked(
FXObject*,FXSelector,
void*);
81 long onCmdCancel(
FXObject*,FXSelector,
void*);
108 static FXuint error(
FXWindow* owner,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
113 static FXuint error(
FXApp* app,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
119 static FXuint warning(
FXWindow* owner,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
124 static FXuint warning(
FXApp* app,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
130 static FXuint question(
FXWindow* owner,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
135 static FXuint question(
FXApp* app,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
141 static FXuint information(
FXWindow* owner,FXuint opts,
const char* caption,
const char* message,...) FX_PRINTF(4,5) ;
146 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:71
Closes the dialog, accept the entry.
Definition: FXDialogBox.h:51
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42