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