From 07b2cefe6e0dfe8bc530aab3b58d4159502ceba8 Mon Sep 17 00:00:00 2001 From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com> Date: 星期四, 21 十一月 2024 11:34:54 +0800 Subject: [PATCH] 1. 解决控件字体修改以后出现锯齿 --- SourceCode/Bond/BondEq/View/UserManagerDlg.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/BondEq/View/UserManagerDlg.h b/SourceCode/Bond/BondEq/View/UserManagerDlg.h index 3f0ac6a..ee87412 100644 --- a/SourceCode/Bond/BondEq/View/UserManagerDlg.h +++ b/SourceCode/Bond/BondEq/View/UserManagerDlg.h @@ -23,12 +23,14 @@ void AddRow(CGridCtrl* pGridCtrl); void DeleteSelectedRow(CGridCtrl* pGridCtrl); bool IsUsernameDuplicate(const CString& username); + void SetDefaultFont(); void AdjustControls(int nWidth, int nHeight); void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight); private: int m_nInitialWidth; int m_nInitialHeight; + std::map<int, CFont*> m_mapFonts; std::map<CString, CString> m_mapRoleDescriptions; private: -- Gitblit v1.9.3