www.pudn.com > TOOLBAR11.rar > toolbarDoc.cpp, change:2001-05-19,size:1189b


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