test1doc.cpp

来自「文件隐藏驱动 在2000XP2003等机器上可以运行 比较稳定」· C++ 代码 · 共 79 行

CPP
79
字号
// test1Doc.cpp : implementation of the Ctest1Doc class
//

#include "stdafx.h"
#include "test1.h"

#include "test1Doc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// Ctest1Doc

IMPLEMENT_DYNCREATE(Ctest1Doc, CDocument)

BEGIN_MESSAGE_MAP(Ctest1Doc, CDocument)
END_MESSAGE_MAP()


// Ctest1Doc construction/destruction

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

}

Ctest1Doc::~Ctest1Doc()
{
}

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

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

	return TRUE;
}




// Ctest1Doc serialization

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


// Ctest1Doc diagnostics

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

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


// Ctest1Doc commands

⌨️ 快捷键说明

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