This method retrieves 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.
Header file: | Afxdlgs.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CString GetFileName( ) const;
CFileDialog::GetPathName, GetStartPosition, CFileDialog::GetFileTitle