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