Commit Graph

24 Commits

Author SHA1 Message Date
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 e1a379072d Update settings 2025-12-26 23:46:28 +11:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 7b0320de00 Make strings CONST 2025-04-20 08:44:08 +10:00
dmex 7d61d85c69 Tidy up window procedure 2025-04-03 09:13:23 +11:00
dmex 8fb373d609 Tidy up 2025-02-13 15:54:26 +11:00
dmex de6d1c9c11 Update to latest SDK 2024-09-09 07:33:45 +10:00
dmex aff1857d1f Update PhWriteMiniDumpProcess and EnableMinidumpSnapshot 2024-07-03 21:26:15 +10:00
dmex b9c8d65728 Update status messages 2024-06-25 04:14:55 +10:00
Johnny Shaw bbfca09bf9 mdump extend proc dump options 2024-03-30 14:25:46 -06:00
dmex 2e7968b898 Add PH_WINDOW_TIMER_DEFAULT 2023-07-06 08:50:31 +10:00
dmex f3778b6e83 Rename PhDeleteFile to PhSetFileDelete 2023-04-26 11:10:39 +10:00
dmex f09f95a38d Update PhShowMessage button flags 2023-03-30 06:28:07 +11:00
dmex f455e383ff Fix incorrect function when using the minidump menu for the current process #1595 2023-03-17 16:00:47 +11:00
dmex da78fa4ce7 Add PhSetTimer and PhKillTimer 2023-03-14 20:20:12 +11:00
dmex 6c7824954e Update PhGetBaseNameChangeExtension 2023-02-27 17:21:13 +11:00
dmex a1f78c20df Remove whitespace 2023-02-15 11:28:07 +11:00
dmex b90fc861ff Rename PhGetBaseNamePathWithExtension 2023-02-15 04:06:59 +11:00
dmex a6461c3f9a Fix saving kernel minidumps for processes when EnableMinidumpKernelMinidump enabled 2023-02-01 12:24:47 +11:00
dmex de944ba0ff Add support for kernel minidumps when creating process minidumps 2023-01-17 12:04:44 +11:00
dmex df92429732 Update DialogBox to PhDialogBox 2023-01-17 02:22:06 +11:00
dmex 7cf151713a Update solution 2022-06-16 11:25:11 +10:00