nvda
7498c0f5 - Fix mouse echo in UIA windows consoles and highlighter and stop highlighter showing in alt+tab (PR #10539)

Commit
6 years ago
Fix mouse echo in UIA windows consoles and highlighter and stop highlighter showing in alt+tab (PR #10539) When the NVDA Highlighter was active, mouse echo was sometimes broken in UIA applications, particularly the windows console when UIA was on. This wasn't a bug in the highlighter, rather the following happened: - NVDA got a window handle at the screen coordinates - NVDA checked for possible API classes. As the window handle of the console window is a native UIAElement, UIA was yielded as a possible API class. - UIA was used to get anUIAElement from the given point. However, it retrieved the UIAElement of the NVDA Highlighter window, which is an overlay. That window is non native. Additionally, merging #10520 caused the highlighter to end up in the alt+tab order Now: - When finding out the object under the mouse, don't use UIA for non native UIA Elements. - Always recalculate the window handle when getting an UIA object from screen coordinates - Apply the WS_EX_TRANSPARENT style as requested in #10539 (comment) - Apply WS_EX_NOACTIVATE to prevent the highlighter from showing up in the alt+tab order
Author
Committer
Parents
Loading