This changeset overhauls several UI infrastructure paths: it adds richer column drag/drop visuals, expands the search box with fuzzy matching and match-range APIs, and refactors theme handling (including Explorer-style palette support, buffered/non-client paint cleanup, and new theme file utilities). It also hardens core behavior with many reliability fixes, such as bounded HTTP download buffering, safer process/service enumeration and handle ownership updates, improved window/context lifecycle handling, DPI/layout fixes, and broader consistency updates across dialog/list-view drawing and helper APIs.
This change moves main-window setup to WM_CREATE to avoid invalid initial layouts, improves dialog focus and window-placement restoration, and includes a wide set of Win32/UI correctness fixes across the app. It also adds thread-stack and Wow64 safety handling, improves token details (authority/RID and elevated-privilege highlighting), and broadens the low-level documentation comments. The update also adjusts a few build settings in CustomBuildTool to improve runtime behavior.
Use the dialog DC clip box when drawing the choose-new-page footer and background, and skip painting when there is no visible region. This avoids overpainting outside the invalidated area and makes the custom themed drawing behave correctly.
Improve thread wait analysis in `anawait.c` by recognizing Win32k CoreMessaging completion drains and I/O completion port waits. This adds clearer messages for `NtUserDrainThreadCoreMessagingCompletions*` and `NtRemoveIoCompletion*` in both passive wait analysis and stack-based analysis.
Refactor the service-only progress dialog into a generic action progress dialog that can format names and rerun actions through phsvc for different item types. Use it for process terminate, suspend, and resume tree operations when the process progress dialog setting is enabled, including recursive descendant collection and self-action safeguards.
Reworked `phlib/directdraw.cpp` to use DIB-based rendering paths and remove unnecessary screen-DC dependencies in bitmap/icon and snapshot code. Window selection logic now skips cloaked windows, improves snapshot hit-testing by enumerating visible top-level/child windows, and tightens window class registration/creation handling (including proper instance/cbSize setup and atom checks). This also adds a new layered popup shadow system (`PhCreate/Update/DestroyWindowShadow` and affinity support) that draws DPI-scaled rounded soft shadows for popup menus on modern Windows where system drop shadows are no longer reliably applied.