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