QuakeGod
2023-10-23 4cda72771765720a6a8721bd8844945c2403afe6
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);
   }
}