This method retrieves 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 extension.
Header file: | Afx.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
virtual CString GetFileTitle( ) const;
CFile::GetFileName, CFile::GetFilePath