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.
Improve mini info container painting during resize by enabling `WS_CLIPCHILDREN`, suppressing parent background erase, and switching child sizing to `SetWindowPos` with no-redraw flags. The resize handler now lays out first and invalidates only the child window to avoid unnecessary parent repaints and visual artifacts.
Adds a mini-info section callback and supports positioning the popup above its source point, including activation tweaks. Also switches the handle permissions dialog to window context storage, caches control handles in the environment dialogs for cleaner layout/enabled-state updates, and fixes process icon lifetime management to avoid leaking stale icons.
Introduce V2 toast notification support and a dedicated STA toast pump thread with synchronous marshalling, progress updates, hide/release helpers, and action callbacks. Add settings.schema.json for editor validation. UI and UX fixes: add advanced setting editor dialog, handle groupbox z-ordering/theming and remove WS_EX_TRANSPARENT, clear mini-info selections on left click, and pick initial mini-info section based on single enabled tray icon. Add DPI-aware process property buttons update (PhpUpdateProcessPropButtonsDpi) and export PhReferenceFont. Concurrency/listing changes: use NoFence variants for process list insertion/removal. Misc: add resource viewer, update headers and build/project files.
Call to `PhPinMiniInformation` may result in hiding miniinfo window,
which will free its allocated resources and thus make `ProcessGroup`
invalid.
Fixes#2278Fixes#2336
Co-authored-by: dmex <dmex04@gmail.com>
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>