Status dialog (DEPRECATED). More...
#include <mi32/mstatus.h>
Public Types | |
| enum | FLAGS { FLAG_NoCancel = MGUI::DLG_STATUS::DLGSTYLE_DisableCancel, FLAG_DelayPopup = MGUI::DLG_STATUS::DLGSTYLE_DelayPopup, FLAG_None = MGUI::DLG_STATUS::DLGSTYLE_Default } |
Public Member Functions | |
| STATUSDIALOG () | |
| ~STATUSDIALOG () | |
| ERRVALUE | CheckCancel () const |
| ERRVALUE | Create (MDLGPARENT dlgparent, FLAGS flags=FLAG_None) |
| void | Destroy () |
| void | DisableCancel () const |
| void | EnableCancel () const |
| MISTATUSMANAGER * | GetHandle () const |
| MTIMER * | GetTimer () |
| void | ReportDone (TEXTID textid=TEXTID__None) const |
| void | ResetCancel () const |
| MISTATUSMANAGER * | SetSelfAsDefault () |
| void | WaitForOK () const |
Status dialog (DEPRECATED).
| enum STATUSDIALOG::FLAGS |
| STATUSDIALOG::STATUSDIALOG | ( | ) | [inline] |
Constructor, performs initialization only, does not create dialog itself.
| STATUSDIALOG::~STATUSDIALOG | ( | ) | [inline] |
Destructor, will destroy dialog if exists.
| ERRVALUE STATUSDIALOG::CheckCancel | ( | ) | const [inline] |
Check if 'Cancel' button has been pressed.
| ERRVALUE STATUSDIALOG::Create | ( | MDLGPARENT | dlgparent, | |
| FLAGS | flags = FLAG_None | |||
| ) | [inline] |
Create the actual dialog.
| dlgparent | Parent for dialog |
| void STATUSDIALOG::Destroy | ( | ) | [inline] |
Destroy dialog without destroying class instance.
| void STATUSDIALOG::DisableCancel | ( | ) | const [inline] |
Disable the 'Cancel' button on the dialog (if any).
| void STATUSDIALOG::EnableCancel | ( | ) | const [inline] |
Enable the 'Cancel' button on the dialog (if any).
| MISTATUSMANAGER* STATUSDIALOG::GetHandle | ( | ) | const [inline] |
Get the MISTATUSMANAGER* for the dialog.
| MTIMER* STATUSDIALOG::GetTimer | ( | ) | [inline] |
Get timer associated with status dialog.
| void STATUSDIALOG::ReportDone | ( | TEXTID | textid = TEXTID__None |
) | const [inline] |
Report that process is finished with time.
This will change the 'Cancel' button to 'OK' wait for the user to press. If the TEXTID__None is specified a generic 'time to process' message will be shown.
| void STATUSDIALOG::ResetCancel | ( | ) | const [inline] |
Reset the 'Cancel' button on the dialog (if any).
| MISTATUSMANAGER* STATUSDIALOG::SetSelfAsDefault | ( | ) | [inline] |
Sets this dialog to be the default status handle.
Useful when calling functions that don't play nice and set the default back to 0 when they exit.
| void STATUSDIALOG::WaitForOK | ( | ) | const [inline] |
Wait for user to press 'OK' button.
1.6.1