www.pudn.com > win32.rar > TestDllNDoc.cpp
// TestDllNDoc.cpp : CTestDllNDoc 类的实现
//
#include "stdafx.h"
#include "TestDllN.h"
#include "TestDllNDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CTestDllNDoc
IMPLEMENT_DYNCREATE(CTestDllNDoc, CDocument)
BEGIN_MESSAGE_MAP(CTestDllNDoc, CDocument)
END_MESSAGE_MAP()
// CTestDllNDoc 构造/销毁
CTestDllNDoc::CTestDllNDoc()
{
// TODO:在此添加一次性构造代码
}
CTestDllNDoc::~CTestDllNDoc()
{
}
BOOL CTestDllNDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO:在此添加重新初始化代码
// (SDI 文档将重用该文档)
return TRUE;
}
// CTestDllNDoc 序列化
void CTestDllNDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO:在此添加存储代码
}
else
{
// TODO:在此添加加载代码
}
}
// CTestDllNDoc 诊断
#ifdef _DEBUG
void CTestDllNDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CTestDllNDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CTestDllNDoc 命令