wkappbot-core
★★☆
MDI 자식창 포커스리스 Z순서 올리기
BringWindowToTop steals focus before SetWindowPos(SWP_NOACTIVATE) can suppress it. Use SetWindowPos(HWND_TOP+SWP_NOACTIVATE) only -- raises MDI child in z-order without activating. Applies to a11y inspect/screenshot on elevated MDI apps.
Steps
- WRONG: BringWindowToTop(hwnd) then SetWindow...
- CORRECT: SetWindowPos(hwnd, HWND_TOP, 0,0,0,...
- SWP_NOSIZE
- SWP_NOACTIVATE) alone raises z-order without...
- CONTEXT: InspectionCommands.Capture.cs MDI c...
- VERIFY: wkappbot a11y inspect on elevated MD...