mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-02-17 11:53:25 +08:00
- Client: threaded recursive search with wildcard matching, 2-second buffer flush for real-time progress, max depth 32 / max results 10000 - Server: local search with collect-all-then-display pattern, worker thread, time-based progress updates, partial results on stop - Toolbar: Desktop/Downloads/Home navigation buttons for both sides - Button state management via OnUpdate handlers during search - Stop vs navigate semantics with separate flags for proper cleanup - Expand environment variables in remote paths (%USERPROFILE% etc.) - i18n: add search-related strings to en_US and zh_TW language files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
937 B
C++
47 lines
937 B
C++
#pragma once
|
|
|
|
#include "resource.h"
|
|
#include "LangManager.h"
|
|
|
|
// CInputDialog 对话框
|
|
|
|
class CInputDialog : public CDialogLangEx
|
|
{
|
|
DECLARE_DYNAMIC(CInputDialog)
|
|
|
|
public:
|
|
CInputDialog(CWnd* pParent = nullptr); // 标准构造函数
|
|
virtual ~CInputDialog();
|
|
|
|
BOOL Init(LPCTSTR caption, LPCTSTR prompt);
|
|
|
|
void Init2(LPCTSTR name, LPCTSTR defaultValue);
|
|
|
|
// 对话框数据
|
|
#ifdef AFX_DESIGN_TIME
|
|
enum { IDD = IDD_DIALOG_INPUT };
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
HICON m_hIcon;
|
|
CString m_sCaption;
|
|
CString m_sPrompt;
|
|
|
|
public:
|
|
CString m_str;
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnBnClickedOk();
|
|
CStatic m_Static2thInput;
|
|
CEdit m_Edit2thInput;
|
|
CString m_sItemName;
|
|
CString m_sSecondInput;
|
|
CStatic m_StaticTipInfo;
|
|
CString m_sTipInfo;
|
|
};
|
|
|
|
typedef CInputDialog CInputDlg;
|