|
// MFCDocViewApplicationDoc.cpp : implementation of the CMFCDocViewApplicationDoc class
//
#include "stdafx.h"
#include "MFCDocViewApplication.h"
#include "MFCDocViewApplicationDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMFCDocViewApplicationDoc
IMPLEMENT_DYNCREATE(CMFCDocViewApplicationDoc, CDocument)
BEGIN_MESSAGE_MAP(CMFCDocViewApplicationDoc, CDocument)
END_MESSAGE_MAP()
// CMFCDocViewApplicationDoc construction/destruction
CMFCDocViewApplicationDoc::CMFCDocViewApplicationDoc()
{
// TODO: add one-time construction code here
}
CMFCDocViewApplicationDoc::~CMFCDocViewApplicationDoc()
{
}
BOOL CMFCDocViewApplicationDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
// CMFCDocViewApplicationDoc serialization
void CMFCDocViewApplicationDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
// CMFCDocViewApplicationDoc diagnostics
#ifdef _DEBUG
void CMFCDocViewApplicationDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CMFCDocViewApplicationDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CMFCDocViewApplicationDoc 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.