Description |
Parent class: XDialog
QueryForClose |
SHORT command the command received from a dialog-control
BOOL canDestroy
If a command was received by the modal dialog, eg. from a button, you must decide if the modal dialog can be destroyed or not. Override this function, return TRUE if the dialog can be destroyed, otherwise return FALSE.
XModalDialog |
XResource * id | A resource which describes the dialog template |
XWindow * owner | A pointer to the owner-window. If now owner is given an error occures. |
BOOL center | Display the dialog centered. |
Construct a modal dialog. You must call XModalDialog::Start() after constructing an instance to make the dialog work. When constructing the dialog you can initialize the dialog controls.
Start |
To make a modal dialog work you must call Start().