?? msg.cpp
字號:
// Msg.cpp: implementation of the CMsg class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ts.h"
#include "Msg.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CMsg::CMsg()
{
m_strText = _T(""); //初始化
m_bClose=FALSE;
}
CMsg::~CMsg()
{
}
void CMsg::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
ar<<(WORD)m_bClose;
ar << m_strText;
} else {
WORD wd;
ar>>wd;
m_bClose=(BOOL)wd;
ar >> m_strText;
}
}
IMPLEMENT_DYNAMIC(CMsg,CObject)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -