?? scannerview.h
字號:
// scannerView.h : interface of the CScannerView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SCANNERVIEW_H__4D5283C1_1CC2_407E_B8CD_8510DB058B8E__INCLUDED_)
#define AFX_SCANNERVIEW_H__4D5283C1_1CC2_407E_B8CD_8510DB058B8E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "scannerDoc.h"
#include "SimpleCompiler.h"
class CScannerView : public CEditView
{
protected: // create from serialization only
CScannerView();
DECLARE_DYNCREATE(CScannerView)
// Attributes
public:
CScannerDoc* GetDocument();
// CScannerDoc* m_pDoc;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CScannerView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
bool ModifySave();
virtual ~CScannerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
//CString m_filename;
// Generated message map functions
protected:
//{{AFX_MSG(CScannerView)
afx_msg void OnCompileWord();
afx_msg void OnFileSave();
afx_msg void OnCompileGrammer();
afx_msg void OnCompileMeaning();
afx_msg void OnFileOpen();
afx_msg void OnUpdateCompileGrammer(CCmdUI* pCmdUI);
afx_msg void OnUpdateCompileMeaning(CCmdUI* pCmdUI);
afx_msg void OnUpdateCompileWord(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CSimpleCompiler *m_SCompiler;
bool m_readySC;
};
#ifndef _DEBUG // debug version in scannerView.cpp
inline CScannerDoc* CScannerView::GetDocument()
{ return (CScannerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCANNERVIEW_H__4D5283C1_1CC2_407E_B8CD_8510DB058B8E__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -