From 2cd3e98d5d0bdf341d772b7e75869cd6f2b39280 Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期三, 27 十一月 2024 09:40:09 +0800
Subject: [PATCH] 1. 监听按钮按下抬起事件

---
 SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h b/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h
index c7a0601..9cd5ea5 100644
--- a/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h
+++ b/SourceCode/Bond/BondEq/View/SystemLogManagerDlg.h
@@ -2,7 +2,6 @@
 #include "afxdialogex.h"
 #include "GridCtrl.h"
 
-
 // CSystemLogManagerDlg 瀵硅瘽妗�
 
 class CSystemLogManagerDlg : public CDialogEx
@@ -21,11 +20,21 @@
 private:
 	void InitSystemLogManager();
 	void FillSystemLogManager();
+	CFont* GetOrCreateFont(int nFontSize);
 	void UpdatePageInfo();
+	void SetDefaultFont();
+	void AdjustControls(float dScaleX, float dScaleY);
+	void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight);
+	void AdjustComboBoxStyle(CComboBox& comboBox);
+	void AdjustDateTimeCtrlStyle(CDateTimeCtrl& dateTimeCtrl);
 
 private:
+	int m_nInitialWidth;   // 鍒濆瀹藉害
+	int m_nInitialHeight;  // 鍒濆楂樺害
 	int m_nCurrentPage;    // 褰撳墠椤电爜
 	int m_nTotalPages;     // 鎬婚〉鏁�
+	std::map<int, CRect> m_mapCtrlLayouts;	// 瀛樺偍鎺т欢鐨勫垵濮嬪竷灞�淇℃伅
+	std::map<int, CFont*> m_mapFonts;		// 绠$悊瀛椾綋鐨勫鍣紝閿负瀛椾綋澶у皬
 
 private:
 	CComboBox m_comboType;
@@ -42,7 +51,11 @@
 	DECLARE_MESSAGE_MAP()
 public:
 	virtual BOOL OnInitDialog();
+	afx_msg void OnSize(UINT nType, int cx, int cy);
+	afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
 	afx_msg void OnBnClickedButtonSearch();
 	afx_msg void OnBnClickedButtonPrevPage();
 	afx_msg void OnBnClickedButtonNextPage();
+	afx_msg void OnSelchangeComboType();
+	afx_msg void OnSelchangeComboUser();
 };

--
Gitblit v1.9.3