From c5ef06019f738d92e01a664e7b1354ba2accb9a6 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 21 八月 2025 05:27:00 +0800
Subject: [PATCH] 1.完善可折叠列表;

---
 SourceCode/Bond/Servo/CControlJobDlg.cpp |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/SourceCode/Bond/Servo/CControlJobDlg.cpp b/SourceCode/Bond/Servo/CControlJobDlg.cpp
index a438bfa..77311e8 100644
--- a/SourceCode/Bond/Servo/CControlJobDlg.cpp
+++ b/SourceCode/Bond/Servo/CControlJobDlg.cpp
@@ -39,12 +39,6 @@
 {
 	CDialogEx::OnInitDialog();
 
-    DWORD dwStyle = m_listCtrl.GetExtendedStyle();
-    dwStyle |= LVS_EX_FULLROWSELECT;
-    dwStyle |= LVS_EX_GRIDLINES;
-    dwStyle |= LVS_EX_DOUBLEBUFFER;
-    m_listCtrl.SetExtendedStyle(dwStyle);
-
     HIMAGELIST imageList = ImageList_Create(24, 24, ILC_COLOR24, 1, 1);
     ListView_SetImageList(m_listCtrl.GetSafeHwnd(), imageList, LVSIL_SMALL);
 
@@ -64,8 +58,8 @@
     m_listCtrl.InsertChild(ch21, { _T("SubStep A2"), _T("Run"),  _T("Bond") });
 
     // 鍒濆璁╅《灞傚睍寮�
-    //root1->expanded = true;
-    //root2->expanded = true;
+    root1->expanded = true;
+    root2->expanded = true;
 
     m_listCtrl.RebuildVisible();
 

--
Gitblit v1.9.3