--- a
+++ b/MyFileBrowser.h
@@ -0,0 +1,35 @@
+#pragma once
+#include "afxdialogex.h"
+
+
+// MyFileBrowser dialog
+
+class MyFileBrowser : public CDialogEx
+{
+	DECLARE_DYNAMIC(MyFileBrowser)
+
+public:
+	MyFileBrowser(CWnd* pParent, CString strCaption);   // standard constructor
+	virtual ~MyFileBrowser();
+
+    CMFCShellListCtrl m_wndShellList;
+	CMFCShellTreeCtrl m_wbdShellTree;
+
+	CString m_filePath;
+	CString m_strCaption;
+
+// Dialog Data
+#ifdef AFX_DESIGN_TIME
+	enum { IDD = IDD_DIALOG_FILE_BROWSER };
+#endif
+
+protected:
+	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
+	virtual BOOL OnInitDialog();
+	afx_msg LRESULT OnChangeFolder(WPARAM,LPARAM);
+
+	DECLARE_MESSAGE_MAP()
+public:
+	afx_msg void OnBnClickedOk();
+	//afx_msg void OnTvnSelchangedMfcshelltree1(NMHDR* pNMHDR, LRESULT* pResult);
+};