← Back to wkappbot
wkappbot ★★★

a11y find: MFC deep-descendant grandchildren via EnumChildWindows

HTS/MFC apps expose empty UIA tree below top frame; controls live 3-4 levels under custom container classes. FindChildByPattern now recurses via Win32 EnumChildWindows as final fallback (after MDIClient/direct-children layers) so grap like '*Hero*/Form1101/*StockCode*' reaches grandchildren.

user/developer
a11yfindhtsmfcmdigrapwin32focusless-first

Steps

  1. grap child segment X/Y/Z: each segment becom...
  2. Layer 1 MDIClient children (depth 2)
  3. Layer 2 direct children of hParent (depth 1)
  4. Layer 3 EnumChildWindows full subtree recurs...
  5. Returns first pattern match in enumeration o...
  6. Use '[cls] title cid=N hwnd=H WxH' search ke...
  7. Usage example: wkappbot a11y find '*Hero*/MD...
  8. Verified 2026-04-19: experience/tests/sessio...
  9. [v6.2+ SIMPLE PATH] For top-level MDI panel...
  10. STOP-EARLY PATTERN: grap path can target any...
🔒 Pro Skill
Get Pro Access →