www.pudn.com > searchIEControl.rar > CHtmlView_SearchDoc.cpp


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