mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Improve: Exit authorization client after succeed authorizing
This commit is contained in:
@@ -981,7 +981,7 @@ void CScreenSpyDlg::EnterFullScreen()
|
||||
// 7. 标记全屏模式
|
||||
m_bFullScreen = true;
|
||||
|
||||
SetTimer(1, 200, NULL);
|
||||
SetTimer(1, 100, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1087,3 +1087,8 @@ void CScreenSpyDlg::OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized)
|
||||
::PostMessage(pMain->GetSafeHwnd(), WM_SESSION_ACTIVATED, (WPARAM)this, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void CScreenSpyDlg::UpdateCtrlStatus(BOOL ctrl) {
|
||||
m_bIsCtrl = ctrl;
|
||||
SetClassLongPtr(m_hWnd, GCLP_HCURSOR, m_bIsCtrl ? (LONG_PTR)m_hRemoteCursor : (LONG_PTR)LoadCursor(NULL, IDC_NO));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user