|
// DTestDoc.cpp : implementation of the CDTestDoc class
//
#include "stdafx.h"
#include "DTest.h"
#include "DTestDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CDTestDoc
IMPLEMENT_DYNCREATE(CDTestDoc, CDocument)
BEGIN_MESSAGE_MAP(CDTestDoc, CDocument)
END_MESSAGE_MAP()
// CDTestDoc construction/destruction
CDTestDoc::CDTestDoc()
{
// TODO: add one-time construction code here
}
CDTestDoc::~CDTestDoc()
{
}
BOOL CDTestDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
// CDTestDoc serialization
void CDTestDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
// CDTestDoc diagnostics
#ifdef _DEBUG
void CDTestDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CDTestDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CDTestDoc commands
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here