home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
ole_vbx1
/
testvdoc.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-23
|
2KB
|
81 lines
// testvdoc.cpp : implementation of the CTestvbxDoc class
//
#include "stdafx.h"
#include "testvbx.h"
#include "testvdoc.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTestvbxDoc
IMPLEMENT_DYNCREATE(CTestvbxDoc, CDocument)
BEGIN_MESSAGE_MAP(CTestvbxDoc, CDocument)
//{{AFX_MSG_MAP(CTestvbxDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CTestvbxDoc construction/destruction
CTestvbxDoc::CTestvbxDoc()
{
// TODO: add one-time construction code here
}
CTestvbxDoc::~CTestvbxDoc()
{
}
BOOL CTestvbxDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CTestvbxDoc serialization
void CTestvbxDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CTestvbxDoc diagnostics
#ifdef _DEBUG
void CTestvbxDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CTestvbxDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CTestvbxDoc commands