Call this member function to retrieve the file title for a specified file. For example, when you call GetFileTitle to generate a message to the user about the file C:\Windows\Write\Myfile.wri, the file title (Myfile) is returned. The file title typically does not include the extention.
virtual CString GetFileTitle( ) const;
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFile Overview, CFile Member Functions, File Service Classes, CFile::GetFileName, CFile::GetFilePath