// DLG_BBS_See_CM.cpp : implementation file
//

#include "stdafx.h"
#include "smsmanager.h"
#include "DLG_BBS_See_CM.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// DLG_BBS_See_CM dialog


DLG_BBS_See_CM::DLG_BBS_See_CM(CWnd* pParent /*=NULL*/)
	: CDialog(DLG_BBS_See_CM::IDD, pParent)
{
	//{{AFX_DATA_INIT(DLG_BBS_See_CM)
	m_strMsg = _T("");
	//}}AFX_DATA_INIT
}


void DLG_BBS_See_CM::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(DLG_BBS_See_CM)
	DDX_Text(pDX, IDC_BBS_SEE_MSG, m_strMsg);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(DLG_BBS_See_CM, CDialog)
	//{{AFX_MSG_MAP(DLG_BBS_See_CM)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// DLG_BBS_See_CM message handlers

void DLG_BBS_See_CM::SetParam(CString strShowMsg)
{
	m_strShowMsg = strShowMsg;
}

BOOL DLG_BBS_See_CM::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here

	m_strMsg = m_strShowMsg;
	UpdateData(false);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}