This class is as for PDialog but can be modal.
![]() | PModalDialog ( PInteractor * parent ) Create a new empty dialog. |
![]() | PModalDialog ( PInteractor * parent, PRESOURCE_ID resID ) Create a new dialog by loading it from a resource. |
![]() | ~PModalDialog () Destroy the dialog, releasing its data and all of its associated controls |
![]() | RunModal () Execute the dialog in a mode. |
![]() | EndModal ( int retVal ) End the modal dialog, and pass back the specified value as the return value in the RunModal() call. |
![]() | OnOk () Function called when the dialog OK button has been pressed. |
![]() | OnInit () This function is called within the RunModal() function before the dialog is made visible to allow any initialisation of user fields in the dialog |
![]() | New functions for class |
![]() | Overrides from class PDialog |
![]() | New functions for class |
Overrides from class PInteractor
Overrides from class PObject
System callback functions.
This class is as for PDialog but can be modal. A modal dialog is one that will not allow other interactors of the application to operate until it has been closed.
Note that this function will not exit until the dialog is ended via the
EndModal() function. The value passed into the EndModal()
function as a parameter is the return value of this function.
PModalDialog( PInteractor * parent, PRESOURCE_ID resID )
resID - Resource identifier for loading controls.virtual ~PModalDialog()
New functions for class
virtual int RunModal()
void EndModal( int retVal )
Overrides from class PDialog
virtual void OnOk()
virtual void OnCancel()
New functions for class
virtual void OnInit()
virtual void Save()
virtual void Restore()
Alphabetic index HTML hierarchy of classes or Java