#pragma once // CCommandListDlg ´ëÈ­ »óÀÚÀÔ´Ï´Ù. class CCommandListDlg : public CDialog { DECLARE_DYNAMIC(CCommandListDlg) public: CCommandListDlg(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù. virtual ~CCommandListDlg(); // ´ëÈ­ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù. enum { IDD = IDD_DIALOG_COMMAND_LIST }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿øÀÔ´Ï´Ù. DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); public: afx_msg void OnLbnDblclkListCommandList(); afx_msg void OnBnClickedOk(); public: void SetCommand(); const wstring& GetCommand() const { return m_Command; } private: wstring m_Command; };