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