Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXDialogBox.h>
Inheritance diagram for FX::FXDialogBox:
Public Types | |
enum | { ID_CANCEL = FXTopWindow::ID_LAST, ID_ACCEPT, ID_LAST } |
Public Member Functions | |
FXDialogBox (FXApp *a, const FXString &name, FXuint opts=DECOR_TITLE|DECOR_BORDER, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=10, FXint pr=10, FXint pt=10, FXint pb=10, FXint hs=4, FXint vs=4) | |
FXDialogBox (FXWindow *owner, const FXString &name, FXuint opts=DECOR_TITLE|DECOR_BORDER, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=10, FXint pr=10, FXint pt=10, FXint pb=10, FXint hs=4, FXint vs=4) | |
virtual FXuint | execute (FXuint placement=PLACEMENT_CURSOR) |
When receiving ID_CANCEL or ID_ACCEPT, the DialogBox breaks out of the modal loop and returns FALSE or TRUE, respectively. To close the DialogBox when not running modally, simply send it ID_HIDE.
|
|
|
Construct free-floating dialog.
|
|
Construct dialog which will always float over the owner window.
|
|
Run modal invocation of the dialog.
Reimplemented in FX::FXInputDialog, and FX::FXReplaceDialog. |
Copyright © 1997-2005 Jeroen van der Zijp |