⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 3104cdoc.cpp

📁 cdma无线通信转发程序 用于电力调度数据的转发
💻 CPP
字号:
// 3104CDoc.cpp : implementation of the CMy3104CDoc class
//

#include "stdafx.h"
#include "3104C.h"

#include "3104CDoc.h"
#include "CntrItem.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMy3104CDoc

IMPLEMENT_DYNCREATE(CMy3104CDoc, CRichEditDoc)

BEGIN_MESSAGE_MAP(CMy3104CDoc, CRichEditDoc)
	//{{AFX_MSG_MAP(CMy3104CDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
	// Enable default OLE container implementation
	ON_UPDATE_COMMAND_UI(ID_OLE_EDIT_LINKS, CRichEditDoc::OnUpdateEditLinksMenu)
	ON_COMMAND(ID_OLE_EDIT_LINKS, CRichEditDoc::OnEditLinks)
	ON_UPDATE_COMMAND_UI_RANGE(ID_OLE_VERB_FIRST, ID_OLE_VERB_LAST, CRichEditDoc::OnUpdateObjectVerbMenu)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMy3104CDoc construction/destruction

CMy3104CDoc::CMy3104CDoc()
{
	// TODO: add one-time construction code here

}

CMy3104CDoc::~CMy3104CDoc()
{
}

BOOL CMy3104CDoc::OnNewDocument()
{
	if (!CRichEditDoc::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}

CRichEditCntrItem* CMy3104CDoc::CreateClientItem(REOBJECT* preo) const
{
	// cast away constness of this
	return new CMy3104CCntrItem(preo, (CMy3104CDoc*) this);
}



/////////////////////////////////////////////////////////////////////////////
// CMy3104CDoc serialization

void CMy3104CDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}

	// Calling the base class CRichEditDoc enables serialization
	//  of the container document's COleClientItem objects.
	// TODO: set CRichEditDoc::m_bRTF = FALSE if you are serializing as text
	CRichEditDoc::Serialize(ar);
}

/////////////////////////////////////////////////////////////////////////////
// CMy3104CDoc diagnostics

#ifdef _DEBUG
void CMy3104CDoc::AssertValid() const
{
	CRichEditDoc::AssertValid();
}

void CMy3104CDoc::Dump(CDumpContext& dc) const
{
	CRichEditDoc::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMy3104CDoc commands

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -