www.gusucode.com > VC++局部放大图像演示实例-源码程序 > VC++局部放大图像演示实例-源码程序/code/ZoomPartDoc.cpp

    // ZoomPartDoc.cpp : implementation of the CZoomPartDoc class
// Download by http://www.NewXing.com

#include "stdafx.h"
#include "ZoomPart.h"

#include "ZoomPartDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CZoomPartDoc

IMPLEMENT_DYNCREATE(CZoomPartDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CZoomPartDoc construction/destruction

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

}

CZoomPartDoc::~CZoomPartDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CZoomPartDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CZoomPartDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CZoomPartDoc commands