www.pudn.com > StatScrlText.rar > StatScrlTextDoc.cpp
// StatScrlTextDoc.cpp : implementation of the CStatScrlTextDoc class
//
#include "stdafx.h"
#include "StatScrlText.h"
#include "StatScrlTextDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStatScrlTextDoc
IMPLEMENT_DYNCREATE(CStatScrlTextDoc, CDocument)
BEGIN_MESSAGE_MAP(CStatScrlTextDoc, CDocument)
//{{AFX_MSG_MAP(CStatScrlTextDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CStatScrlTextDoc construction/destruction
CStatScrlTextDoc::CStatScrlTextDoc()
{
// TODO: add one-time construction code here
}
CStatScrlTextDoc::~CStatScrlTextDoc()
{
}
BOOL CStatScrlTextDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CStatScrlTextDoc serialization
void CStatScrlTextDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CStatScrlTextDoc diagnostics
#ifdef _DEBUG
void CStatScrlTextDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CStatScrlTextDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CStatScrlTextDoc commands