MFC源程序
CFileDialog::CFileDialog(BOOL bOpenFileDialog,
LPCTSTR lpszDefExt, LPCTSTR lpszFileName, DWORD dwFlags,
LPCTSTR lpszFilter, CWnd* pParentWnd, DWORD dwSize, BOOL bVistaStyle)
继承时将bVistaStyle置为FALSE即可
CXXDlg::CXXDlg(BOOL bOpenFileDialog, LPCTSTR lpszDefExt,LPCTSTR lpszFileName, DWORD dwFlags,LPCTSTR lpszFilter, CWnd* pParentWnd ) : CFileDialog(bOpenFileDialog, lpszDefExt,lpszFileName, dwFlags,lpszFilter,pParentWnd,0,FALSE)