#if !defined(AFX_CDEXFILEOPEN_H__352F07A1_744F_11D4_A2D9_005004EF8536__INCLUDED_)
#define AFX_CDEXFILEOPEN_H__352F07A1_744F_11D4_A2D9_005004EF8536__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// CdexFileOpen.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCdexFileOpen dialog

class CCdexFileOpen : public CFileDialog
{
	DECLARE_DYNAMIC(CCdexFileOpen)
private:
	BOOL m_bInit;
public:
	CCdexFileOpen(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
		LPCTSTR lpszDefExt = NULL,
		LPCTSTR lpszFileName = NULL,
		DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
		LPCTSTR lpszFilter = NULL,
		CWnd* pParentWnd = NULL);

protected:
	//{{AFX_MSG(CCdexFileOpen)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CDEXFILEOPEN_H__352F07A1_744F_11D4_A2D9_005004EF8536__INCLUDED_)
