www.pudn.com > VCAMS.rar > GetMsgDialog.cpp
// GetMsgDialog.cpp : implementation file
//
#include "stdafx.h"
#include "amstonetime.h"
#include "GetMsgDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGetMsgDialog dialog
CGetMsgDialog::CGetMsgDialog(CWnd* pParent /*=NULL*/)
: CDialog(CGetMsgDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CGetMsgDialog)
m_strRichEdit = _T("");
//}}AFX_DATA_INIT
}
void CGetMsgDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGetMsgDialog)
DDX_Text(pDX, IDC_RICHEDIT_TEXT, m_strRichEdit);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CGetMsgDialog, CDialog)
//{{AFX_MSG_MAP(CGetMsgDialog)
ON_BN_CLICKED(IDC_BN_OK, OnBnOk)
ON_BN_CLICKED(IDC_BN_CANCLE, OnBnCancle)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGetMsgDialog message handlers
void CGetMsgDialog::OnBnOk()
{
// TODO: Add your control notification handler code here
CDialog::OnOK();
}
void CGetMsgDialog::OnBnCancle()
{
// TODO: Add your control notification handler code here
CDialog::OnCancel();
}