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

📄 mainfrm.h

📁 参数化车间设备资源绘制程序
💻 H
字号:
// MainFrm.h : CMainFrame 类的接口
//

#include "drawtoolbar.h"
//#include "machinestoolbar.h"
#include  "TechCourse.h"
#include  "Dlg4.h"
#include "RightView.h"
#define NUM_ITEMS	10

#pragma once
class CMainFrame : public CMDIFrameWnd
{
	DECLARE_DYNAMIC(CMainFrame)
public:
	CMainFrame();

// 属性
public:
	

	double m_xd,m_yd;

// 操作
public:
  BOOL CreateDrawToolBar();
  BOOL CreateMachinesToolBar();

// 重写
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

// 实现
public:
	virtual ~CMainFrame();

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // 控件条嵌入成员
	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;
	CDrawToolBar m_wndDrawToolBar;
  //  CToolBar    m_editToolBar;
	//CMachinesToolBar m_wndMachinesToolBar; 
  // CDocTemplate* m_TechTemplate;

// 生成的消息映射函数
protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);

	afx_msg void OnUpdateIndicatorXL(CCmdUI* pCmdUI);
	afx_msg void OnUpdateIndicatorYL(CCmdUI* pCmdUI);

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnViewDrawtoolbar();
	afx_msg void OnUpdateViewDrawtoolbar(CCmdUI *pCmdUI);
	//afx_msg void OnViewMachinestoolbar();
	//afx_msg void OnUpdateViewMachinestoolbar(CCmdUI *pCmdUI);

	BOOL m_bVisibledlg;
	protected:
	
public:
	//afx_msg void OnViewEidtdlgbar();
public:
	//afx_msg void OnTechcourse();
	/*CRightView* m_pRightView1;
	CString m_pRightView1Str;*/
//CDlgbar* dlgbar;
	
public:
	//virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle = WS_OVERLAPPEDWINDOW, const RECT& rect = rectDefault, CWnd* pParentWnd = NULL, LPCTSTR lpszMenuName = NULL, DWORD dwExStyle = 0, CCreateContext* pContext = NULL);
   CTechCourse* m_pTechCourse;

public:
//	afx_msg void OnGoyiguihua();
public:
//	afx_msg void OnZhishiku();
public:
	afx_msg void OnDlg4();
	CDlg4* dlg4;
	CRightView* m_Rview;
public:
//	afx_msg void OnGongyiguochengka();
public:
	afx_msg void OnGyjbxxsr();
public:
	afx_msg void OnVieweidtdlgbar();
public:
	afx_msg void OnViewShebei();

public:
	afx_msg void OnBnClickedButtonSbnlpz();
public:
	//afx_msg void OnGongxuka();
};


⌨️ 快捷键说明

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