#pragma once #include "afxcmn.h" #include "afxwin.h" // CAddCmdImpl 对话框 class CAddCmdImpl : public CDialog { DECLARE_DYNAMIC(CAddCmdImpl) public: CAddCmdImpl(CWnd* pParent = NULL); // 标准构造函数 virtual ~CAddCmdImpl(); // 对话框数据 enum { IDD = Dlg_AddCmdImpl }; CString m_strDepotPath; CString m_strRutDepotPath; CString m_strOldDeviceName; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); afx_msg void OnBnClickedClose(); afx_msg void OnBnClickedOk(); protected: virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult); public: HTREEITEM hRootItem; CTreeCtrl m_CtrlTree; CImageList m_imgList; CPoint m_mousePoint; afx_msg void OnBnClickedAdd(); CComboBox m_cobStore; CString m_strMark; CString m_strTip; BOOL m_bHasAdd; afx_msg void OnAddcmdimteimpl(); };