Override this function only if you want to provide custom validation of filenames that are entered into a common file dialog box. Normally, you do not need to use this function because the framework provides default validation of filenames and displays a message box if an invalid filename is entered.
virtual BOOL OnFileNameOK( );
Header File | Afxdlgs.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFileDialog Overview, CFileDialog Member Functions, Dialog Box Classes