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