dlxview.cpp

来自「计算机体系结构中,关于DLXS的模拟程序.在vc6.0下编译通过.」· C++ 代码 · 共 97 行

CPP
97
字号
// DlxView.cpp : implementation of the CDlxView class
//

#include "stdafx.h"
#include "Architecture.h"

#include "Globals.h"
#include "Splitter.h"
#include "MainFrm.h"
#include "DlxDoc.h"
#include "RegDlg.h"
#include "MemDlg.h"
#include "DlxView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlxView

IMPLEMENT_DYNCREATE(CDlxView, CScrollView)

BEGIN_MESSAGE_MAP(CDlxView, CScrollView)
	//{{AFX_MSG_MAP(CDlxView)
	ON_WM_LBUTTONDBLCLK()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlxView construction/destruction

CDlxView::CDlxView()
{
	// TODO: add construction code here

}

CDlxView::~CDlxView()
{
}

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

	return CScrollView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CDlxView drawing

void CDlxView::OnDraw(CDC* pDC)
{
	

}

void CDlxView::OnInitialUpdate()
{


	//  its list control through a call to GetListCtrl().
}

/////////////////////////////////////////////////////////////////////////////
// CDlxView diagnostics

#ifdef _DEBUG
void CDlxView::AssertValid() const
{
	CScrollView::AssertValid();
}

void CDlxView::Dump(CDumpContext& dc) const
{
	CScrollView::Dump(dc);
}

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

/////////////////////////////////////////////////////////////////////////////
// CDlxView message handlers





⌨️ 快捷键说明

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