exrobotview.cpp

来自「挖掘机机器人算法」· C++ 代码 · 共 84 行

CPP
84 行
字号
// ExRobotView.cpp : implementation of the CExRobotView class
//

#include "stdafx.h"
#include "ExRobot.h"

#include "ExRobotDoc.h"
#include "ExRobotView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CExRobotView

IMPLEMENT_DYNCREATE(CExRobotView, CFormView)

BEGIN_MESSAGE_MAP(CExRobotView, CFormView)
	//{{AFX_MSG_MAP(CExRobotView)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CExRobotView construction/destruction

CExRobotView::CExRobotView()
	: CFormView(CExRobotView::IDD)
{
	//{{AFX_DATA_INIT(CExRobotView)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	// TODO: add construction code here

}

CExRobotView::~CExRobotView()
{
}

void CExRobotView::DoDataExchange(CDataExchange* pDX)
{
	CFormView::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CExRobotView)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}

BOOL CExRobotView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CFormView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CExRobotView diagnostics

#ifdef _DEBUG
void CExRobotView::AssertValid() const
{
	CFormView::AssertValid();
}

void CExRobotView::Dump(CDumpContext& dc) const
{
	CFormView::Dump(dc);
}

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

/////////////////////////////////////////////////////////////////////////////
// CExRobotView message handlers

⌨️ 快捷键说明

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