⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drawdataview.cpp

📁 实用的VC平台的ADO数据库编程
💻 CPP
字号:
// DrawDataView.cpp : implementation file
//

#include "stdafx.h"
#include "beamdatamanager.h"

#include "BeamDataManagerDoc.h"
#include "DrawDataView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDrawDataView

IMPLEMENT_DYNCREATE(CDrawDataView, CView)

CDrawDataView::CDrawDataView()
{
}

CDrawDataView::~CDrawDataView()
{
}


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

/////////////////////////////////////////////////////////////////////////////
// CDrawDataView drawing

void CDrawDataView::OnDraw(CDC* pDC)
{
	CBeamDataManagerDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code here
	pDoc->SetTitle("横梁数据管理器");

	pDC->TextOut(20,2,"对应构造数据图形显示");	
}

/////////////////////////////////////////////////////////////////////////////
// CDrawDataView diagnostics

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

void CDrawDataView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CBeamDataManagerDoc* CDrawDataView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CBeamDataManagerDoc)));
	return (CBeamDataManagerDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CDrawDataView message handlers

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -