CFileDialog::SetDefExt
Call this function to set the default file name extension for an Explorer-style Open or Save As common dialog box.
void SetDefExt(
LPCSTR lpsz
);
Параметры
- lpsz
A pointer to a string containing the default extension to use for the dialog box object. This string must not contain a period (.).
Заметки
The dialog box must have been created with the OFN_EXPLORER style; otherwise, the function will fail with an assertion.
Требования
Header: afxdlgs.h