CFile::GetFileTitle

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.

Syntax

virtual CString GetFileTitle( ) const;

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFile Overview, CFile Member Functions, File Service Classes, CFile::GetFileName, CFile::GetFilePath