A standard dialog for obtaining a file name for saving to by the application.
![]() | PSaveFileDialog ( PInteractor *parent, PRESOURCE_ID resID = PSTD_ID_DIALOG_SAVE_FILE ) Create a new standard save file dialog. |
![]() | ~PSaveFileDialog () Destroy the standard save file dialog. |
![]() | SetDefaultFileType ( const PString & type ) Set the default file type for the new file. |
![]() | GetDefaultFileType () const Get the default file type for a new file returned by the dialog. |
![]() | New functions for class |
![]() | defaultType Default file type for when not specified. |
Callback functions
Overrides from class PDialog
Overrides from class PInteractor
Overrides from class PObject
System callback functions.
A standard dialog for obtaining a file name for saving to by the application. The exact appearance of the dialog is platform specific, however they all consists of the same basic functions.Note that unlike most dialogs, most operations such as PInteractor::Show(), PInteractorLayout::GetControl() etc may not be executed before the PModalDialog::RunModal() function has been executed. Furthermore, they are not available after PModalDialog::RunModal() has returned. Similarly some functions such as PFileDialog::SetDirectory() are not available within the centext of PModalDialog::RunModal(). This is due to the implementation on some platforms which goes to great lengths to use the actual standard file dialog for the platform.
virtual ~PSaveFileDialog()
New functions for class
void SetDefaultFileType( const PString & type )
PString GetDefaultFileType() const
PString defaultType
Alphabetic index HTML hierarchy of classes or Java