修复悬浮条条件下拉显示与设置页遮挡误报

- 下拉建议框:DisplayMember 保证编辑区始终是实际进程名/窗口类/标题,
  下拉列表用 OwnerDraw 显示友好描述;不再在选择提交时清空 SelectedIndex,
  避免原生 CBN_SELCHANGE 把输入框覆盖为空
- 检测显示条件忽略本工具自身窗口(设置窗口正在遮挡目标),
  并在结果里点名具体遮挡窗口;运行时判断保持严格
- 补 STA 回归:原生鼠标/键盘选择、刷新、保存重载,以及遮挡窗口分类

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
zimoyin
2026-10-13 14:43:28 +08:00
parent 05353928e6
commit 4f53047429
8 changed files with 525 additions and 36 deletions
+2
View File
@@ -33,6 +33,8 @@
<Compile Include="PersistenceTests.cs" />
<Compile Include="TreeRefreshTests.cs" />
<Compile Include="FloatingConditionsTests.cs" />
<Compile Include="SettingsComboBoxTests.cs" />
<Compile Include="WindowVisibilityTests.cs" />
<Compile Include="..\..\src\pacs_win_uia\UI\ControlTreeReconciler.cs"><Link>ControlTreeReconciler.cs</Link></Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />