ex127Doc.cpp
资源名称:VC6.0.rar [点击查看]
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:2k
源码类别:
书籍源码
开发平台:
Visual C++
- // ex127Doc.cpp : implementation of the CEx127Doc class
- //
- #include "stdafx.h"
- #include "ex127.h"
- #include "ex127Doc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CEx127Doc
- IMPLEMENT_DYNCREATE(CEx127Doc, CDocument)
- BEGIN_MESSAGE_MAP(CEx127Doc, CDocument)
- //{{AFX_MSG_MAP(CEx127Doc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CEx127Doc construction/destruction
- CEx127Doc::CEx127Doc()
- {
- // TODO: add one-time construction code here
- }
- CEx127Doc::~CEx127Doc()
- {
- }
- BOOL CEx127Doc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CEx127Doc serialization
- void CEx127Doc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CEx127Doc diagnostics
- #ifdef _DEBUG
- void CEx127Doc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CEx127Doc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CEx127Doc commands