From 9d48f280e9a512d894ecdd05d80d8ec3915a704c Mon Sep 17 00:00:00 2001 From: Darker <mr.darker@163.com> Date: 星期三, 05 三月 2025 17:13:17 +0800 Subject: [PATCH] 1. 完善报警窗口显示 1.1 日志和报警窗口同一时间只能显示一个 1.2 报警窗口跟随主窗口移动 1.3 重写报警窗口的关闭方法 --- SourceCode/Bond/BoounionPLC/PlcView.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/BoounionPLC/PlcView.h b/SourceCode/Bond/BoounionPLC/PlcView.h index bcebc87..27a3e52 100644 --- a/SourceCode/Bond/BoounionPLC/PlcView.h +++ b/SourceCode/Bond/BoounionPLC/PlcView.h @@ -53,6 +53,8 @@ private: // 控件 CBlButton* m_pBlBtns[BTN_MAX]; + COLORREF m_crPlcNameBack; + HBRUSH m_hbrPlcName; // 对话框数据 #ifdef AFX_DESIGN_TIME @@ -76,5 +78,6 @@ afx_msg void OnBnClickedButtonSoundOff(); afx_msg void OnBnClickedButtonResetting(); afx_msg void OnBnClickedButtonStop(); + afx_msg void OnTimer(UINT_PTR nIDEvent); }; -- Gitblit v1.9.3