Add new window provider and event-driven updates. The windows UI now supports pause/resume updates, richer Options (message-only/non-visible enumeration, view modes, icon toggles, snapshot finder), and improved command events. Property handling was migrated to the newer `PhPropSheetNew` builder flow, with page identity persistence, resized/layout-aware pages, and an Options menu on the properties host. The update also expands window utility helpers (visibility, icons, DWM/automation checks, remote destroy/end task, snapshot selection, tab/app metadata), adds DWM attributes column persistence, introduces new settings/resources/IDs, and wires the new source into CMake/VS projects.
Eliminate the main-window-DPI globals that bleed across dialogs on
secondary monitors. Window-aware code now passes its own DPI:
- Delete PhSystemDpi, PhSmallIconSize, PhLargeIconSize and
PhGuiSupportUpdateSystemMetrics; remove the mainwnd.c invocation
on WM_DPICHANGED.
- PhGetApplicationIcon and PhGetStockApplicationIcon now require a
WindowDpi parameter; PhGetApplicationIconEx is folded into
PhGetApplicationIcon. PhGetStockApplicationIcon keeps the shared
icon contract via a 4-slot DPI-keyed cache so multiple monitors
coexist without thrash.
- All ~50 callers updated to source DPI from their owning window
(PhGetWindowDpi for hwnd-bearing call sites; PhGetTaskbarDpi for
the tray icon; PhGetSystemDpi for window-class registration and
parentless task dialogs).
- PhSetApplicationWindowIcon now thin-wraps PhSetApplicationWindowIconEx
with PhGetWindowDpi(hwnd), so the 63 legacy call sites get
per-window-DPI icons without per-site edits.
- srvprv.c and mainwnd.c read PhProcessImageListWindowDpi instead
of PhSystemDpi/PhSmallIconSize.X for service and process icons.
* fix Ctrl+K (search box) handling
- tree view didn't pass keypresses to parent window so it was not
possible to handle the keyboard combo
- some plugins didn't handle Ctrl+K at all
Fixes#2241
* treenew handle Ctrl+A in common code
* searchbox pressing escape will abandon search
Current search is abandoned and focus is returned to window that
previously had it, instead of closing whole dialog.
* fixup! searchbox pressing escape will abandon search
* Update SystemInformer/searchbox.c
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
* Update SystemInformer/searchbox.c
---------
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>