Commit Graph

21 Commits

Author SHA1 Message Date
dmex 025db3a0ec Fix UI init and token diagnostics
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.
2026-10-01 23:49:16 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex 9467d5f646 Improve DPI handling, icon scaling, metrics (#2894) 2026-05-02 09:13:06 +10:00
dmex a6443d07c0 Remove global PhSystemDpi, PhSmallIconSize, PhLargeIconSize
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.
2026-04-26 22:49:05 +10:00
dmex 6317244ea6 Restructured common code 2025-05-07 08:29:22 +10:00
dmex 8fb373d609 Tidy up 2025-02-13 15:54:26 +11:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
dmex de6d1c9c11 Update to latest SDK 2024-09-09 07:33:45 +10:00
dmex 96a46e03d5 Add PhCreateEvent 2024-07-07 15:36:13 +10:00
dmex 40070d14c7 Update to latest SDK 2024-07-03 21:24:04 +10:00
Johnny Shaw bbfca09bf9 mdump extend proc dump options 2024-03-30 14:25:46 -06:00
Johnny Shaw 098db78a79 kdump fix kernel live dump 2024-03-30 12:19:50 -06:00
dmex b92596b659 Update SDK (#1767) 2023-06-20 09:19:46 +10:00
dmex f3778b6e83 Rename PhDeleteFile to PhSetFileDelete 2023-04-26 11:10:39 +10:00
dmex a0d24138b3 Remove duplicate GetParent 2023-04-13 17:03:33 +10:00
dmex df92429732 Update DialogBox to PhDialogBox 2023-01-17 02:22:06 +11:00
dmex cac45389ce Add help text for UserSpace live dumps 2022-12-22 13:19:17 +11:00
dmex ead3627e94 Increase live dump window size 2022-12-21 03:25:56 +11:00
dmex f55e56a666 Add error message for live dump without elevation 2022-09-16 05:19:57 +10:00
dmex a9b7ca21ff Update live kernel dump with kernel thread stack support 2022-09-13 04:26:00 +10:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00