From 24e3d5124ed62ebd613ba883a366ea3461c9dd17 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 11 三月 2025 11:30:13 +0800
Subject: [PATCH] 1.CMFCPropertyGridCtrl控件调整,使单元项可选,不可编辑。

---
 SourceCode/Bond/Servo/ServoDlg.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/ServoDlg.cpp b/SourceCode/Bond/Servo/ServoDlg.cpp
index b46a746..b29713e 100644
--- a/SourceCode/Bond/Servo/ServoDlg.cpp
+++ b/SourceCode/Bond/Servo/ServoDlg.cpp
@@ -692,7 +692,7 @@
 	}
 	ASSERT(m_pLogDlg);
 	m_pLogDlg->ShowWindow(m_bShowLogWnd ? SW_SHOW : SW_HIDE);
-
+	
 	UpdateLogBtn();
 }
 
@@ -855,6 +855,7 @@
 	CDialogEx::OnSize(nType, cx, cy);
 	if (GetDlgItem(IDC_SERVO_GRAPH1) == nullptr) return;
 	Resize();
+	Invalidate();
 }
 
 void CServoDlg::Resize()

--
Gitblit v1.9.3