www.pudn.com > Geotest.rar > InfoView.cpp


// InfoView.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "geotest.h" 
#include "InfoView.h" 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CInfoView 
 
IMPLEMENT_DYNCREATE(CInfoView, CView) 
 
CInfoView::CInfoView() 
{ 
} 
 
CInfoView::~CInfoView() 
{ 
} 
 
 
BEGIN_MESSAGE_MAP(CInfoView, CView) 
	//{{AFX_MSG_MAP(CInfoView) 
		// NOTE - the ClassWizard will add and remove mapping macros here. 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CInfoView drawing 
 
void CInfoView::OnDraw(CDC* pDC) 
{ 
	CDocument* pDoc = GetDocument(); 
	// TODO: add draw code here 
	pDC->TextOut(10,10,"TestView"); 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// CInfoView diagnostics 
 
#ifdef _DEBUG 
void CInfoView::AssertValid() const 
{ 
	CView::AssertValid(); 
} 
 
void CInfoView::Dump(CDumpContext& dc) const 
{ 
	CView::Dump(dc); 
} 
#endif //_DEBUG 
 
///////////////////////////////////////////////////////////////////////////// 
// CInfoView message handlers