1 #pragma once 2 #include "afxwin.h" 3 #include <string> 4 5 class MacroRecordDlg : public express_dialog 6 { 7 public: 8 MacroRecordDlg(CWnd *pParent = NULL); 9 ~MacroRecordDlg(void); 10 11 public: Getmacro_name()12 CString &Getmacro_name(){ return mmacro_name;}; Getmacro_path()13 CString &Getmacro_path(){ return mmacro_path;}; 14 15 // Dialog Data 16 enum { IDD = IDD_MACRO_RECORD_DLG}; 17 DECLARE_MESSAGE_MAP() 18 19 protected: 20 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 21 virtual void OnOK(); 22 23 private: 24 CString mmacro_name; 25 CString mmacro_path; 26 27 public: 28 afx_msg void OnBnClickedBrowsePath(); 29 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); 30 afx_msg void OnCancel(); 31 virtual BOOL OnInitDialog(); 32 }; 33 34