home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
news
/
2498
/
zstud12
/
zdemodoc.cp_
/
ZDEMODOC.CPP
Wrap
C/C++ Source or Header
|
1994-04-09
|
2KB
|
81 lines
// zdemodoc.cpp : implementation of the CZdemoDoc class
//
#include "stdafx.h"
#include "zdemo.h"
#include "zdemodoc.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CZdemoDoc
IMPLEMENT_DYNCREATE(CZdemoDoc, CDocument)
BEGIN_MESSAGE_MAP(CZdemoDoc, CDocument)
//{{AFX_MSG_MAP(CZdemoDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CZdemoDoc construction/destruction
CZdemoDoc::CZdemoDoc()
{
// TODO: add one-time construction code here
}
CZdemoDoc::~CZdemoDoc()
{
}
BOOL CZdemoDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CZdemoDoc serialization
void CZdemoDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CZdemoDoc diagnostics
#ifdef _DEBUG
void CZdemoDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CZdemoDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CZdemoDoc commands