testmatcom_mfcdoc.cpp

来自「《精通matlab与c++混合编程》的光盘内容」· C++ 代码 · 共 85 行

CPP
85
字号
// testmatcom_mfcDoc.cpp : implementation of the CTestmatcom_mfcDoc class
//

#include "stdafx.h"
#include "testmatcom_mfc.h"

#include "testmatcom_mfcDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CTestmatcom_mfcDoc

IMPLEMENT_DYNCREATE(CTestmatcom_mfcDoc, CDocument)

BEGIN_MESSAGE_MAP(CTestmatcom_mfcDoc, CDocument)
	//{{AFX_MSG_MAP(CTestmatcom_mfcDoc)
		// 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
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTestmatcom_mfcDoc construction/destruction

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

}

CTestmatcom_mfcDoc::~CTestmatcom_mfcDoc()
{
}

BOOL CTestmatcom_mfcDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CTestmatcom_mfcDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CTestmatcom_mfcDoc diagnostics

#ifdef _DEBUG
void CTestmatcom_mfcDoc::AssertValid() const
{
	CDocument::AssertValid();
}

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

/////////////////////////////////////////////////////////////////////////////
// CTestmatcom_mfcDoc commands

⌨️ 快捷键说明

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