This class defines a user inteface entity that consists of a collection of zero or more other interactors.
![]() | PDialog ( PInteractor * parent ) Create a new empty dialog. |
![]() | PDialog ( PInteractor * parent, PRESOURCE_ID resID ) Create a new dialog by loading it from a resource. |
![]() | ~PDialog () Destroy the dialog, releasing its data and all of its associated controls |
![]() | GetTitle () const Get the current dialog title string. |
![]() | SetTitle ( const PString & title ) Set the new window title string. |
![]() | Close () Close the PDialog interactor. |
![]() | SetStdButtons ( PPushButton * okBtn, PPushButton * cancelBtn = NULL, PPushButton * helpBtn = NULL ) Set the default OK, Cancel & Help buttons. |
![]() | New functions for class |
![]() | ok The OK button. |
![]() | cancel The Cancel button. |
![]() | help The Help button. |
Overrides from class PInteractor
Overrides from class PObject
System callback functions.
This class defines a user inteface entity that consists of a collection of zero or more other interactors. These interactors are expected to be descendents of the PControl class. Controls allow information to be transferred between the user and the application.The external and internal layout of a dialog is usually described using application resources.
The application writer may override this function to do any clean up
or state saving operations. The default action does nothing.
PDialog( PInteractor * parent, PRESOURCE_ID resID )
resID - Resource identifier for loading controls.virtual ~PDialog()
New functions for class
virtual PString GetTitle() const
virtual void SetTitle( const PString & title )
virtual void Close()
void SetStdButtons( PPushButton * okBtn, PPushButton * cancelBtn = NULL, PPushButton * helpBtn = NULL )
cancelBtn - The Cancel button for the dialog.
helpBtn - The Help button for the dialog.virtual void OnClose()
virtual void OnOk()
virtual void OnCancel()
PPushButton* ok
Alphabetic index HTML hierarchy of classes or Java