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".
CString GetFileExt( ) const;
Header File | Afxdlgs.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFileDialog Overview, CFileDialog Member Functions, Dialog Box Classes, CFileDialog::GetPathName, CFileDialog::GetFileName, CFileDialog::GetFileTitle