Fix: Small issues related to remote desktop control

This commit is contained in:
yuanyuanxiang
2025-12-23 21:24:50 +01:00
parent 94ff731223
commit 47ac8fb0d2
5 changed files with 21 additions and 12 deletions

View File

@@ -107,5 +107,8 @@ BOOL CToolbarDlg::OnInitDialog()
GetDlgItem(IDC_BTN_CLOSE)->SetWindowPos(NULL,
startX + (btnWidth + btnSpacing) * 2, y, btnWidth, btnHeight, SWP_NOZORDER);
CScreenSpyDlg* pParent = (CScreenSpyDlg*)GetParent();
GetDlgItem(CONTROL_BTN_ID)->SetWindowTextA(pParent->m_bIsCtrl ? "暂停控制" : "控制屏幕");
return TRUE;
}