Skip to content

MapWinGIS6 – ActiveX Test Host Enhancement Plan - #57

Merged
pmeems merged 2 commits into
developmentfrom
improve-activex-manual-test-interface
Nov 6, 2026
Merged

pmeems merged 2 commits into
developmentfrom
improve-activex-manual-test-interface

Conversation

@pmeems

@pmeems pmeems commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Improves the existing WinForms host for manual validation of the ActiveX control.

Adds vector file selection and drag-and-drop, a layer list with stable IDs and feature counts, clear and zoom controls, directional pan buttons, and status reporting. The generated GeoJSON fixture remains loaded at startup, and the automated mode is unchanged. No dependencies were added.

The ActiveX interface exposes aggregate feature count but no per-layer name/count. The host uses source file names and derives each layer's displayed feature count from the aggregate before/after loading.

Validation:

  • Debug x64 solution build: zero compiler-warning diagnostics (origin/development baseline: zero).
  • Core tests: 268 passed, 1 skipped.
  • ActiveX tests: 46 passed, 2 skipped.
  • Automated host: all 14 checks passed.
  • Manual x64 host window started and closed; C# host compiled for x86.

- Add vector loading, layer management, navigation, and status UI.

- Support multi-file loading and drag-and-drop while retaining automated checks.

- Keep displayed layer metadata at the host boundary using existing ActiveX properties.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Interactive loading refreshes status before repainting, so Open and drag-and-drop can display the previous frame’s rendering backend and diagnostic instead of the current result.

1 open issue
What changed in this PR

Enhances the WinForms ActiveX test host for manual validation of vector loading, navigation, and rendering while retaining the generated startup fixture.

Changes:

  • Adds multi-file selection and drag-and-drop loading.
  • Displays layer names, stable IDs, and feature counts derived from aggregate count changes.
  • Adds clear, zoom, and directional pan controls, plus expanded status reporting.

Builds and tests were not rerun during this review.

File Description
samples/​CSharp/​ActiveXTestHost/​MainForm.cs Adds dataset loading, a layer list, navigation controls, and detailed status reporting.

Review effort: Balanced

- Correct operation errors, deferred drops, and loaded-layer bookkeeping.
- Restore automation coverage and check loading, navigation, clearing, and rendering status.
- Document manual controls and first-layer loading limits.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pmeems
pmeems merged commit 75b082a into development Nov 6, 2026
1 check passed
@pmeems
pmeems deleted the improve-activex-manual-test-interface branch November 6, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants