gusucode.com > 基于VC编程界面编程高级应用技术源码程序 > VC界面编程高级应用技术/code/1/DevDemo/DocView.cpp

    // DocView.cpp : implementation file
//

#include "stdafx.h"
#include "DevDemo.h"
#include "DocView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDocView

IMPLEMENT_DYNCREATE(CDocView, CView)

CDocView::CDocView()
{
}

CDocView::~CDocView()
{
}


BEGIN_MESSAGE_MAP(CDocView, CView)
	//{{AFX_MSG_MAP(CDocView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDocView drawing

void CDocView::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	// TODO: add draw code here
}

/////////////////////////////////////////////////////////////////////////////
// CDocView diagnostics

#ifdef _DEBUG
void CDocView::AssertValid() const
{
	CView::AssertValid();
}

void CDocView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CDocView message handlers