#pragma once // CMsgBox dialog class CMsgBox : public CDialog { DECLARE_DYNAMIC(CMsgBox) public: CMsgBox(CWnd* pParent = NULL); // standard constructor virtual ~CMsgBox(); // Dialog Data enum { IDD = IDD_MESSAGE_BOX }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); CString m_strTitle; CString m_strMessage; CString m_strDelimiter; void SetMessage(CString strMsg, CString m_strDelimiter); };