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