CFileDialog::GetFileExt

Call this member function to retrieve the extension of the filename entered into the dialog box. For example, if the name of the file entered is DATA.TXT, GetFileExt returns "TXT".

Syntax

CString GetFileExt( ) const;

At a Glance

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

See Also

CFileDialog Overview, CFileDialog Member Functions, Dialog Box Classes, CFileDialog::GetPathName, CFileDialog::GetFileName, CFileDialog::GetFileTitle