TSaveFileDialog

Header File

opensave.h

Description

TFileSaveDialog is a modal dialog box that lets you enter the name of a file to save. Use TFileSaveDialog to respond to a CM_FILESAVEAS command generated when a user selects File|Save from a menu. TFileSaveDialog uses the TOpenSave::TData structure to initialize the file save dialog box.

Public Constructor

TFileSaveDialog(TWindow* parent, TData& data, TResID templateID = 0, const char far* title = ;0, TModule* module = 0);

Public Member Function

int DoExecute();

Example of use

Click here for an example of the use of TFileSaveDialog.

For more information about TData::FileData click here.