CFileDialog::OnFileNameOK

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.

Syntax

virtual BOOL OnFileNameOK( );

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