From 4ed7fc8447d202e21ef9907e2aac63ef6fcbf301 Mon Sep 17 00:00:00 2001 From: zxd <zxdvslxy@gmail.com> Date: 星期二, 17 十月 2023 12:33:23 +0800 Subject: [PATCH] 提交图码转换部分修改: 1.基本图形转换 2.ANS\ORS\PSHS\POPS命令的处理 3.重构了转换方法,命名为CMTerm1View::ScanLDSCells2();同时将翻译单独提出为方法CMTerm1View::Translate2Prog() 4.快捷键的添加绑定 5.其他相关方法修改,Insert,Delete,FocusChg…… 6.其他关联修改 --- MTerm2/MyDialogLog.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MTerm2/MyDialogLog.cpp b/MTerm2/MyDialogLog.cpp index 7a2161d..05f2948 100644 --- a/MTerm2/MyDialogLog.cpp +++ b/MTerm2/MyDialogLog.cpp @@ -115,7 +115,7 @@ CRect rect1; GetDlgItem(IDC_CHECK_PAUSEUPDATE)->GetWindowRect(rect1); ScreenToClient(&rect1); - GetDlgItem(IDC_CHECK_PAUSEUPDATE)->SetWindowPos(NULL,0,cy-rect1.Height(),rect1.Width(),rect1.Height(),NULL); + GetDlgItem(IDC_CHECK_PAUSEUPDATE)->SetWindowPos(NULL,4,cy-rect1.Height()-4,rect1.Width(),rect1.Height(),NULL); } pwnd=GetDlgItem(IDC_CHECK_NOSCROLL); if (pwnd!=NULL) @@ -123,7 +123,7 @@ CRect rect1; GetDlgItem(IDC_CHECK_NOSCROLL)->GetWindowRect(rect1); ScreenToClient(&rect1); - GetDlgItem(IDC_CHECK_NOSCROLL)->SetWindowPos(NULL,cx-rect1.Width(),cy-rect1.Height(),rect1.Width(),rect1.Height(),NULL); + GetDlgItem(IDC_CHECK_NOSCROLL)->SetWindowPos(NULL,cx-rect1.Width()-4,cy-rect1.Height()-4,rect1.Width(),rect1.Height(),NULL); } } -- Gitblit v1.9.1