home *** CD-ROM | disk | FTP | other *** search
- // CDemo1DlgDoc.cp -- Document methods
- // Created 01/01/95 12:01 PM by AppMaker
-
- #include "stdafx.h"
- #include "Demo1Dlg.h"
- #include "CDemo1DlgDoc.h"
-
- #ifdef _DEBUG
- #undef THIS_FILE
- static char BASED_CODE THIS_FILE[] = __FILE__;
- #endif
-
- //
- // class CDemo1DlgDoc
- //
-
- IMPLEMENT_DYNCREATE(CDemo1DlgDoc, CDocument)
-
- BEGIN_MESSAGE_MAP(CDemo1DlgDoc, CDocument)
- //{{AFX_MSG_MAP(CDemo1DlgDoc)
- // Handlers within the section marked by {{AFX_MSG_MAP and }}AFX_MSG_MAP
- // are maintained by ClassExpress.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- //
- // CDemo1DlgDoc constructor
- //
-
- CDemo1DlgDoc::CDemo1DlgDoc()
- {
- // to do: add one-time construction code here
- }
-
- //
- // CDemo1DlgDoc destructor
- //
-
- CDemo1DlgDoc::~CDemo1DlgDoc()
- {
- }
-
- BOOL CDemo1DlgDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument()) return FALSE;
- // to do: add reinitialization code here
- // This document will be reused (as SDI only allows one open document).
- return TRUE;
- }
-
- void CDemo1DlgDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring()) {
- // to do: add saving code here
- } else {
- // to do: add loading code here
- }
- }
-
-
- //
- // CDemo1DlgDoc debug diagnostics
- //
-
- #ifdef _DEBUG
- void CDemo1DlgDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
-
- void CDemo1DlgDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
-
- #endif
-
- //
- // CDemo1DlgDoc commands
- //
-