fix: Showing the correct cursor status on window

This commit is contained in:
yuanyuanxiang
2025-08-02 17:24:17 +08:00
parent 52f9a9261f
commit f531933952
4 changed files with 28 additions and 16 deletions

View File

@@ -100,7 +100,8 @@ void CHideScreenSpyDlg::OnClose()
ShowWindow(SW_HIDE);
return;
}
// 恢复鼠标状态
SetClassLongPtr(m_hWnd, GCLP_HCURSOR, (LONG_PTR)LoadCursor(NULL, IDC_ARROW));
CDialogBase::OnClose();
}