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