Feature: Support using remote cursor in screen control

This commit is contained in:
yuanyuanxiang
2026-01-16 22:06:04 +01:00
parent 3f94505aaf
commit 39e07adb3b
6 changed files with 88 additions and 18 deletions

View File

@@ -1,6 +1,8 @@
#pragma once
#include "Resource.h"
class CScreenSpyDlg;
class CToolbarDlg : public CDialogEx
{
DECLARE_DYNAMIC(CToolbarDlg)
@@ -8,7 +10,8 @@ private:
int m_lastY = 0; // 记录上一次的 Y 坐标
public:
CToolbarDlg(CWnd* pParent = nullptr);
CScreenSpyDlg* m_pParent = nullptr;
CToolbarDlg(CScreenSpyDlg* pParent = nullptr);
virtual ~CToolbarDlg();
enum { IDD = IDD_TOOLBAR_DLG };