![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXDialogBox.h>
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) |
DialogBox window.
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.
| anonymous enum |
| FX::FXDialogBox::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 |
||
| ) |
Construct free-floating dialog.
| FX::FXDialogBox::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 |
||
| ) |
Construct dialog which will always float over the owner window.
| virtual FXuint FX::FXDialogBox::execute | ( | FXuint | placement = PLACEMENT_CURSOR | ) | [virtual] |
Run modal invocation of the dialog.
Reimplemented in FX::FXReplaceDialog, and FX::FXInputDialog.
|
|