CFileDialogImpl::GetFilePath
intCFileDialogImpl::GetFilePath(LPTSTRlpstrFilePath, intnLength)
Get the whole path of the file
Defined in: CommonDialogs.h
Return Value
Returns the selected file path
Parameters
lpstrFilePath
Path of the file
nLength
Length of the path
Comments
Call this function to retrieve the full path of the file entered in the
dialog box. The path of the filename includes the files title plus the entire
directory path. For example, GetPathName will return "C:\\FILES\\TEXT.DAT"
for the file C:\\FILES\\TEXT.DAT.