This method retrieves the extension of the file name entered into the dialog box. For example, if the name of the file entered is Data.txt, GetFileExt returns "txt".
Header file: | Afxdlgs.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CString GetFileExt( ) const;
CFileDialog::GetPathName, CFileDialog::GetFileName, CFileDialog::GetFileTitle