www.pudn.com > FlexGrid.rar > FlexGridDoc.cpp, change:1999-09-17,size:1782b


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