📄 dlxview.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -