#pragma once #include "stringex.h" // 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(); string m_strTitle; string m_strMessage; string m_strDelimiter; void SetMessage(string cstrMsg, string m_strDelimiter); };