?? ncsimulasysview.h
字號:
// NCSimulaSysView.h : CNCSimulaSysView 類的接口
//
#pragma once
class CTaskPane;
class CCustomEditCtrl;
class CNCSimulaSysDoc;
class CNCSimulaSysView : public CBCGPEditView
{
protected: // 僅從序列化創建
CNCSimulaSysView();
DECLARE_DYNCREATE(CNCSimulaSysView)
// 屬性
public:
CNCSimulaSysDoc* GetDocument() const;
CTaskPane* GetTasksPane() const;
// 操作
public:
// 重寫
public:
virtual void OnDraw(CDC* pDC); // 重寫以繪制該視圖
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);
virtual CBCGPEditCtrl* CreateEdit ();
// 實現
public:
virtual ~CNCSimulaSysView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
CCustomEditCtrl* m_pEdit;
// 生成的消息映射函數
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnFilePrintPreview();
afx_msg void OnSetEditRegionFont();
afx_msg void OnEditTogglebreakpoint();
afx_msg void OnUpdateEditTogglebreakpoint(CCmdUI* pCmdUI);
afx_msg void OnEditRemoveAllBreakpoints();
afx_msg void OnUpdateEditRemoveAllBreakpoints(CCmdUI* pCmdUI);
afx_msg void OnUpdateCursorPos(CCmdUI *pCmdUI);
afx_msg void OnEditTogglebookmark();
afx_msg void OnEditPreviousbookmark();
afx_msg void OnEditNextbookmark();
afx_msg void OnClearAllBookmarks();
afx_msg void OnEditGotoLine();
afx_msg void OnUpdateClearAllBookmarks(CCmdUI*);
DECLARE_MESSAGE_MAP()
private:
void ResetDefaultFont();
virtual void OnInitialUpdate();
// afx_msg void OnEditGotoLine();
afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
};
#ifndef _DEBUG // NCSimulaSysView.cpp 中的調試版本
inline CNCSimulaSysDoc* CNCSimulaSysView::GetDocument() const
{ return reinterpret_cast<CNCSimulaSysDoc*>(m_pDocument); }
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -