📄 outputview.cpp
字号:
// OutputView.cpp : implementation file
//
#include "stdafx.h"
#include "VISMCU.h"
#include "OutputView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COutputView
IMPLEMENT_DYNCREATE(COutputView, CEditView)
COutputView::COutputView()
{
}
COutputView::~COutputView()
{
}
BEGIN_MESSAGE_MAP(COutputView, CEditView)
//{{AFX_MSG_MAP(COutputView)
ON_CONTROL_REFLECT(EN_CHANGE, OnChange)
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// COutputView drawing
void COutputView::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
}
/////////////////////////////////////////////////////////////////////////////
// COutputView diagnostics
#ifdef _DEBUG
void COutputView::AssertValid() const
{
CEditView::AssertValid();
}
void COutputView::Dump(CDumpContext& dc) const
{
CEditView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// COutputView message handlers
void COutputView::OnChange()
{
}
int COutputView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CEditView::OnCreate(lpCreateStruct) == -1)
return -1;
SetFont(CFont::FromHandle((HFONT)GetStockObject(DEFAULT_GUI_FONT)));
GetEditCtrl().SetReadOnly(TRUE);
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -