CFileDialog::m_ofn

The m_ofn data member is an OPENFILENAME structure. Use this structure to initialize the appearance of a File Open or File Save As dialog box after it is constructed but before it is displayed with the DoModal member function.

OPENFILENAME m_ofn;

At a Glance

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

See Also

CFileDialog Overview, CFileDialog Data Members, Dialog Box Classes, OPENFILENAME!