1 #pragma once 2 #include "afxwin.h" 3 #include <string> 4 5 6 // NewProjectDlg dialog 7 8 class NewProjectDlg : public express_dialog 9 { 10 //DECLARE_DYNAMIC(NewProjectDlg) 11 12 public: 13 NewProjectDlg(CWnd* pParent = NULL); // standard constructor 14 virtual ~NewProjectDlg(); 15 CString &Getproject_name(); 16 CString &Getproject_path(); 17 18 // Dialog Data 19 enum { IDD = IDD_NEW_PROJECT_DLG}; 20 21 protected: 22 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 23 virtual BOOL DestroyWindow(); 24 virtual void OnOK(); 25 afx_msg void OnPaint(); 26 27 DECLARE_MESSAGE_MAP() 28 29 private: 30 CString mproject_name; 31 CString mproject_path; 32 33 public: 34 afx_msg void OnBnClickedBrowsePath(); 35 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); 36 afx_msg void OnCancel(); 37 afx_msg LRESULT OnTestMessage(WPARAM wParam, LPARAM lParam); 38 virtual BOOL OnInitDialog(); 39 40 }; 41