⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ncsimulasysview.h

📁 用VC++开发了一个数控加工的三维仿真程序
💻 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 + -