API Reference > Extension Classes > Windows Classes > CPreviewFileDlg Class > CPreviewFileDlg::CPreviewFileDlg Constructor
CPreviewFileDlg::CPreviewFileDlg Constructor
Syntax
C++
CPreviewFileDlg(CAbstractPreview * pPreview, BOOL fileOpenDialog, LPCTSTR defaultExtension = NULL, LPCTSTR defaultFileName = NULL, DWORD flags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, LPCTSTR filters = NULL, CWnd* pParentWindow = NULL);
Parameters 
Description 
CAbstractPreview * pPreview 
[in] Pointer to Preview object. param fileOpenDialog [in] True for File Open dialog, false for File SaveAs dialog. param defaultExtension [in] Default filename extension. param defaultFileName [in] Default filename. param flags [in] File Dialog flags. param filters [in] File filters. param pParentWindow [in] Pointer to the Parent Window. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.