Remi05 / outlines

An app to help review your UI implementation.
MIT License
7 stars 0 forks source link

Switched to a multi-window live inspector #77

Closed Remi05 closed 2 years ago

Remi05 commented 2 years ago

After discovering a way to have a window ignored by UIA using WS_EX_TRANSPARENT and WS_EX_LAYERED, it was noticed that it also caused input to pass through, effectively breaking the toolbar. To work around this and still allow for using ElementFromPoint UIA APIs, it was decided to split the live inspector into multiple windows: an overlay window which is ignored by UIA and a window for each of the other visible components/panels (ToolBar, Properties panel, Tree View panel).

This change also paves the way for multiple overlay windows in a multi-display context (especially where the displays have different DPIs).

With each component having their own window, the ability to move them around was added.