From aac3b319965967f465881f3a8961904d57b6f337 Mon Sep 17 00:00:00 2001
From: zxd <zxdvslxy@gmail.com>
Date: 星期四, 28 九月 2023 17:01:41 +0800
Subject: [PATCH] 节前提交,包含部分图码的转换,提出单独函数专做转换

---
 MTerm1/ChildFrm.h |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/MTerm1/ChildFrm.h b/MTerm1/ChildFrm.h
index a4f8b9c..9d7219a 100644
--- a/MTerm1/ChildFrm.h
+++ b/MTerm1/ChildFrm.h
@@ -3,7 +3,7 @@
 //
 
 #pragma once
-
+#include "../MyLib/StaticEx.h"
 class CChildFrame : public CMDIChildWndEx
 {
 	DECLARE_DYNCREATE(CChildFrame)
@@ -13,8 +13,20 @@
 // 鐗规��
 protected:
 	CSplitterWndEx m_wndSplitter;
-public:
+	CMFCStatusBar  m_wndStatusBar;
+	CMFCToolBar m_wndToolBar_InfoShow;
+	CStaticEx	m_StaticShowMachine;
+	CStaticEx	m_StaticShowProgPos;
+	CStaticEx	m_StaticShowOnline;
+	CStaticEx	m_StaticShowPLC;
+	CStaticEx	m_StaticShowMonitor;
+	CStaticEx	m_StaticShowAddress;
 
+public:
+	CMFCStatusBar *GetStatusBar()
+	{
+		return &m_wndStatusBar;
+	}
 // 鎿嶄綔
 public:
 
@@ -32,4 +44,6 @@
 // 鐢熸垚鐨勬秷鎭槧灏勫嚱鏁�
 protected:
 	DECLARE_MESSAGE_MAP()
+public:
+	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
 };

--
Gitblit v1.9.1