【VC开源代码栏目提醒】:网学会员为需要VC开源代码的朋友们搜集整理了Ex09_3Doc.cpp相关资料,希望对各位网友有所帮助!
// Ex09_3Doc.cpp : implementation of the CEx09_3Doc class
//
#include "stdafx.h"
#include "Ex09_3.h"
#include "Ex09_3Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEx09_3Doc
IMPLEMENT_DYNCREATE(CEx09_3Doc, CDocument)
BEGIN_MESSAGE_MAP(CEx09_3Doc, CDocument)
//{{AFX_MSG_MAP(CEx09_3Doc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CEx09_3Doc construction/destruction
CEx09_3Doc::CEx09_3Doc()
{
// TODO: add one-time construction code here
m_inumRects=6;
}
CEx09_3Doc::~CEx09_3Doc()
{
}
BOOL CEx09_3Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CEx09_3Doc serialization
void CEx09_3Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CEx09_3Doc diagnostics
#ifdef _DEBUG
void CEx09_3Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CEx09_3Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CEx09_3Doc commands