bottomview.h
来自「一个类c语言的解释器」· C头文件 代码 · 共 46 行
H
46 行
#pragma once
#include "cmmgDoc.h"
#include "OutRichCtrl.h"
#include "AnalyseTree.h";
// CBottomView view
class CBottomView : public CView
{
DECLARE_DYNCREATE(CBottomView)
public:
CcmmgDoc* GetDocument() const;
virtual void OnInitialUpdate();
protected:
CBottomView(); // protected constructor used by dynamic creation
virtual ~CBottomView();
protected:
virtual void OnSize(UINT nType, int cx, int cy);
public:
COutRichCtrl output;
CListBox err;
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
VOID OnSelChange(NMHDR * pNotifyStruct, LRESULT * result);
public:
AnalyseTree *analyse_tree;
void scan();
void parse();
void exec();
#ifdef _DEBUG
virtual void AssertValid() const;
#ifndef _WIN32_WCE
virtual void Dump(CDumpContext& dc) const;
#endif
#endif
protected:
DECLARE_MESSAGE_MAP()
};
inline CcmmgDoc* CBottomView::GetDocument() const
{ return reinterpret_cast<CcmmgDoc*>(m_pDocument); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?