【VC开源代码栏目提醒】:本文主要为网学会员提供CShow_3Doc.cpp,希望对需要CShow_3Doc.cpp网友有所帮助,学习一下!
// CShow_3Doc.cpp : implementation of the CCShow_3Doc class
//
#include "stdafx.h"
#include "CShow_3.h"
#include "CShow_3Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCShow_3Doc
IMPLEMENT_DYNCREATE(CCShow_3Doc, CDocument)
BEGIN_MESSAGE_MAP(CCShow_3Doc, CDocument)
//{{AFX_MSG_MAP(CCShow_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()
/////////////////////////////////////////////////////////////////////////////
// CCShow_3Doc construction/destruction
CCShow_3Doc::CCShow_3Doc()
{
// TODO: add one-time construction code here
}
CCShow_3Doc::~CCShow_3Doc()
{
}
BOOL CCShow_3Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CCShow_3Doc serialization
void CCShow_3Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CCShow_3Doc diagnostics
#ifdef _DEBUG
void CCShow_3Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CCShow_3Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CCShow_3Doc commands