#pragma once #include "afxwin.h" #include "constants.h" // CInformation dialog class CInformation : public CDialogEx { DECLARE_DYNAMIC(CInformation) public: CInformation(CWnd* pParent = NULL); // standard constructor virtual ~CInformation(); CString GetText() const; void SetPromptMsg(PROMPT_MESSAGES msg); // Dialog Data enum { IDD = IDD_DIALOG_INFO }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support DECLARE_MESSAGE_MAP() private: CEdit m_editInformation; public: afx_msg void OnEnChangeEditInformation(); private: CString m_strEdit; PROMPT_MESSAGES m_promptMsg; public: afx_msg void OnBnClickedOk(); virtual BOOL OnInitDialog(); private: CStatic m_staticMsg; };