CFileDialogImpl::CFileDialogImpl

CFileDialogImpl::CFileDialogImpl(boolbOpenFileDialog, LPCTSTRlpszDefExt= NULL, LPCTSTRlpszFilter= NULL, LPCTSTRlpszFileName= NULL, DWORDdwFlags= OFN_HIDEREADONLY + OFN_OVERWRITEPROMPT, DWORDdwExFlags= OFN_EX_NOPLACESBAR, HWNDhWndParent= NULL)

Constructor

Defined in: CommonDialogs.h

Parameters

bOpenFileDialog

true for FileOpen, false for FileSaveAs

Comments

Initialize the OPENFILENAME structure

lpszDefExt

Default extension

lpszFilter

Filter for file name extenstions,

lpszFileName

File Name

dwFlags

Hide or show certain files.

dwExFlags

Extended Windows 2000 flags.

hWndParent

Parent window handle