|
@@ -99,6 +99,7 @@ void CDlgService::InitCtrl()
|
|
m_listDevices.SetColumnWidth(2, 140);
|
|
m_listDevices.SetColumnWidth(2, 140);
|
|
m_listDevices.InsertColumn(3, "状态");
|
|
m_listDevices.InsertColumn(3, "状态");
|
|
m_listDevices.SetColumnWidth(3, 55);
|
|
m_listDevices.SetColumnWidth(3, 55);
|
|
|
|
+ m_listDevices.SetExtendedStyle(m_listDevices.GetExtendedStyle() | LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT);
|
|
|
|
|
|
// 初始化任务列表;
|
|
// 初始化任务列表;
|
|
m_listTask.InsertColumn(0, "No");
|
|
m_listTask.InsertColumn(0, "No");
|
|
@@ -109,6 +110,7 @@ void CDlgService::InitCtrl()
|
|
m_listTask.SetColumnWidth(2, 55);
|
|
m_listTask.SetColumnWidth(2, 55);
|
|
m_listTask.InsertColumn(3, "结果");
|
|
m_listTask.InsertColumn(3, "结果");
|
|
m_listTask.SetColumnWidth(3, 55);
|
|
m_listTask.SetColumnWidth(3, 55);
|
|
|
|
+ m_listTask.SetExtendedStyle(m_listTask.GetExtendedStyle() | LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT);
|
|
|
|
|
|
// 修改按钮默认样式;
|
|
// 修改按钮默认样式;
|
|
m_btnModify.m_bTransparent = FALSE;
|
|
m_btnModify.m_bTransparent = FALSE;
|