【VC开源代码栏目提醒】:本文主要为网学会员提供ZoomPartDoc.cpp,希望对需要ZoomPartDoc.cpp网友有所帮助,学习一下!
// ZoomPartDoc.cpp : implementation of the CZoomPartDoc class
//
#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