|
// MainFrm.h: CMainFrame 类的接口
|
//
|
|
#pragma once
|
#include "NavView.h"
|
#include "MyPaneLog.h"
|
|
//class CMyPaneLog;
|
#include "MyDialogLog.h"
|
#include "../MyLib/StaticEx.h"
|
#include "CMyFuncKeyToolBar.h"
|
#include "MyDlgBarFuncKey.h"
|
#include "MyDialogLog.h"
|
#include "MyDlgBarInputShow.h"
|
#include "CMyPaneInputShow.h"
|
|
|
class CMainFrame : public CMDIFrameWndEx
|
{
|
DECLARE_DYNAMIC(CMainFrame)
|
public:
|
CMainFrame() noexcept;
|
|
// 特性
|
public:
|
|
// 操作
|
public:
|
|
// 重写
|
public:
|
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
CMFCStatusBar m_wndStatusBar;
|
// 实现
|
public:
|
virtual ~CMainFrame();
|
#ifdef _DEBUG
|
virtual void AssertValid() const;
|
virtual void Dump(CDumpContext& dc) const;
|
#endif
|
|
protected: // 控件条嵌入成员
|
CMFCToolBar m_wndToolBar;
|
|
// CMyFuncKeyToolBar m_wndToolBar_Func_Key;
|
// CMyDlgBarFuncKey m_wndDlgBar_Func_Key;
|
// CToolBar m_wndTBar_Edit_Key;
|
// CToolBar m_wndTBar_Num_Key;
|
// CToolBar m_wndTBar_InputShow;
|
// CMyDlgBarInputShow m_wndDlgBar_InputShow;
|
|
// CToolBar m_wndToolBar_Comments;
|
|
CNavView m_wndNavView;
|
|
// CEdit m_InputShowEdit;
|
// CStaticEx m_InputShowStatic;
|
|
|
CMyPaneLog m_wndMyPaneLog;
|
// CMyDialogLog m_dlgMyLog;
|
|
|
CMyPaneInputShow m_wndMyPaneInputShow;
|
|
// 生成的消息映射函数
|
protected:
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
afx_msg void OnUploadFromPlc();
|
afx_msg void OnViewFunckeyBar();
|
afx_msg void OnUpdateViewFunckeyBar(CCmdUI *pCmdUI);
|
afx_msg void OnViewInputBar();
|
afx_msg void OnUpdateViewInputBar(CCmdUI *pCmdUI);
|
afx_msg void OnViewNumkeyBar();
|
afx_msg void OnUpdateViewNumkeyBar(CCmdUI *pCmdUI);
|
afx_msg void OnViewInputsegBar();
|
afx_msg void OnUpdateViewInputsegBar(CCmdUI *pCmdUI);
|
afx_msg void OnViewCommentsBar();
|
afx_msg void OnUpdateViewCommentsBar(CCmdUI *pCmdUI);
|
// afx_msg void OnMenuViewLds();
|
// afx_msg void OnMenuViewBld();
|
// afx_msg void OnMenuViewBnl();
|
|
int SetDisplayInfo(int Info);
|
|
CMyFormInputShow* GetInputWnd() {
|
return m_wndMyPaneInputShow.m_pMyFormInputShow;
|
};
|
|
int SetCellInfo(int info);
|
int GetInputInfo(int inputInfo);
|
int GetInputCell(tagInputCell inputCell);
|
|
afx_msg void OnMenuShowLog();
|
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
|
|
afx_msg void OnMenuShowDev();
|
|
afx_msg void OnMenuShownav();
|
};
|
|
|
|