CFileDialog::GetPathName

Call this member function to retrieve the full path of the file entered in the dialog box. The path of the filename includes the file's title plus the entire directory path.

Syntax

CString GetPathName( ) 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::GetFileName, CFileDialog::GetFileExt, CFileDialog::GetFileTitle