www.pudn.com > PropertyPage.zip > PropertyPageDoc.cpp


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