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

📄 mshowview.h

📁 用VC++开发的一个数控加工的仿真程序。此程序能根据NC代码仿真生成加工轨迹
💻 H
字号:
// MshowView.h : interface of the CMshowView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MSHOWVIEW_H__1D8CDC0B_B7B0_4302_8ACC_BA436AE619F5__INCLUDED_)
#define AFX_MSHOWVIEW_H__1D8CDC0B_B7B0_4302_8ACC_BA436AE619F5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

UINT ThreadProc(LPVOID param);
class CMshowView : public CView
{
protected: // create from serialization only
	CMshowView();
	DECLARE_DYNCREATE(CMshowView)

// Attributes
public:
	CMshowDoc* GetDocument();

// Operations
public:
    CDialogBar* m_pdlgbar;
	CToolBar* m_ptoolbar;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMshowView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

// Implementation
public:
	CWinThread* m_pnewthread;
	void Onpaint();
	virtual ~CMshowView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMshowView)
	afx_msg void OnUpdateXY(CCmdUI* pCmdUI);
	afx_msg void OnStartthread();
	afx_msg void OnStopthread();
	afx_msg void OnPausethread();
	afx_msg void OnSenddate();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnUpdateStartthread(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePausethread(CCmdUI* pCmdUI);
	afx_msg void OnUpdateStopthread(CCmdUI* pCmdUI);
	afx_msg void OnUpdateZB(CCmdUI* pCmdUI);
	afx_msg void OnZB();
	afx_msg void OnStartwork();
	afx_msg void OnUpdateStartwork(CCmdUI* pCmdUI);
	afx_msg void OnButtonSim();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MshowView.cpp
inline CMshowDoc* CMshowView::GetDocument()
   { return (CMshowDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MSHOWVIEW_H__1D8CDC0B_B7B0_4302_8ACC_BA436AE619F5__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -