www.gusucode.com > VC++拼图游戏源代码源码程序 > VC++拼图游戏源代码源码程序\code\同源、不同源,多视实现\MyEditDoc.cpp

    //Download by http://www.NewXing.com
// MyEditDoc.cpp : implementation file
//

#include "stdafx.h"
#include "dyn_splid_view.h"
#include "MyEditDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMyEditDoc

IMPLEMENT_DYNCREATE(CMyEditDoc, CDocument)

CMyEditDoc::CMyEditDoc()
{
}

BOOL CMyEditDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;
	return TRUE;
}

CMyEditDoc::~CMyEditDoc()
{
}


BEGIN_MESSAGE_MAP(CMyEditDoc, CDocument)
	//{{AFX_MSG_MAP(CMyEditDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyEditDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CMyEditDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CMyEditDoc commands