CDocument::GetPathName
Call this function to get the fully qualified path of the document's disk file.
const CString& GetPathName( ) const;
Возвращаемое значение
The document's fully qualified path. This string is empty if the document has not been saved or does not have a disk file associated with it.
Требования
Header: afxwin.h