CFileDialog::GetFileName

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.

Syntax

CString GetFileName( ) const;

At a Glance

Header File Afxdlgs.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFileDialog Overview, CFileDialog Member Functions, Dialog Box Classes, CFileDialog::GetPathName, GetStartPosition, CFileDialog::GetFileTitle