?? mainfrm.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 + -