www.pudn.com > lhwy_odbc2.zip > lhwyDoc.cpp, change:2002-10-09,size:1455b


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