Call this member function to retrieve the name of the file entered in the dialog box. The name of the file includes only its prefix, without the path or the extension.
CString GetFileName( ) const;
Header File | Afxdlgs.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFileDialog Overview, CFileDialog Member Functions, Dialog Box Classes, CFileDialog::GetPathName, GetStartPosition, CFileDialog::GetFileTitle