From 02fb493f0903013e5258c2ff5e2cb27de873378a Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期四, 12 十二月 2024 10:51:43 +0800 Subject: [PATCH] 1.警告性息弹窗; 2.警告性息列表; --- SourceCode/Bond/BondEq/View/UserManagerDlg.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/BondEq/View/UserManagerDlg.h b/SourceCode/Bond/BondEq/View/UserManagerDlg.h index ee87412..c311784 100644 --- a/SourceCode/Bond/BondEq/View/UserManagerDlg.h +++ b/SourceCode/Bond/BondEq/View/UserManagerDlg.h @@ -23,13 +23,15 @@ void AddRow(CGridCtrl* pGridCtrl); void DeleteSelectedRow(CGridCtrl* pGridCtrl); bool IsUsernameDuplicate(const CString& username); + CFont* GetOrCreateFont(int nFontSize); void SetDefaultFont(); - void AdjustControls(int nWidth, int nHeight); + void AdjustControls(float dScaleX, float dScaleY); void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight); private: int m_nInitialWidth; int m_nInitialHeight; + std::map<int, CRect> m_mapCtrlLayouts; std::map<int, CFont*> m_mapFonts; std::map<CString, CString> m_mapRoleDescriptions; @@ -43,6 +45,7 @@ public: virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); + afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI); afx_msg void OnGridComboSelChange(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnBnClickedButtonAdd(); afx_msg void OnBnClickedButtonInsert(); -- Gitblit v1.9.3