CFileDialog::GetPathName

This method retrieves the full path of the file entered in the dialog box. The path of the file name includes the file’s title plus the entire directory path.

At a Glance

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

Syntax

CString GetPathName( ) const;

See Also

CFileDialog::GetFileName, CFileDialog::GetFileExt, CFileDialog::GetFileTitle