Commit Graph

30 Commits

Author SHA1 Message Date
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +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 c87d3e67bc Update to latest SDK 2024-09-22 12:58:26 +10:00
dmex 4fc3979b75 Update ShellExecute return status 2024-04-05 06:24:33 +11:00
dmex f09f95a38d Update PhShowMessage button flags 2023-03-30 06:28:07 +11:00
dmex ba972800a9 Update ShellExecuteEx defaults 2023-03-17 18:40:29 +11:00
dmex cfd2885744 Add directory to PhShellExecuteEx 2023-03-10 06:53:08 +11:00
dmex 9b0b69cc39 peview: Fix dark theme support 2023-02-27 16:57:44 +11:00
dmex df92429732 Update DialogBox to PhDialogBox 2023-01-17 02:22:06 +11:00
dmex 43eb9f4979 Fix incorrect checks for INT_ERROR 2022-12-26 11:27:43 +11:00
ge0rdi 7a13e9d58d peview: Add window context free (#1512) 2022-12-03 15:54:48 +11:00
dmex 67e0181ddf peview: Add PvSetListViewImageList/PvSetTreeViewImageList 2022-10-21 04:23:33 +11:00
dmex ec15269546 Fix imagelist flags and some DPI issues 2022-09-24 02:43:25 +10:00
henrypp 5744c9cba4 Per Monitor V2 DPI aware support (thanks to henrypp!) (#1347) 2022-09-16 00:08:12 +10:00
dmex e9b1a7865f Remove whitespaces 2022-09-13 15:24:15 +10:00
dmex b7b9242c42 Update options.c 2022-09-06 11:58:02 +10:00
dmex 89413aaa3c Add PhGetApplicationFileNameWin32 and PhGetApplicationDirectoryWin32 2022-07-29 02:42:29 +10:00
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00
dmex b67211e9c3 peview: Fix window theme, Remove legacy timers 2022-01-19 16:39:24 +11:00
dmex 3fb34cb7ce Update to PhImageList support 2021-06-05 00:06:13 +10:00
dmex 38a9d60e6d peview: Add new UI, Add new customization, Update everything 2021-05-21 11:10:09 +10:00
dmex c6a42981ee peview: Fix options theme 2021-03-24 03:04:51 +11:00
dmex 19669a4a38 peview: Fix updating MaxSizeUnit setting #844 2021-03-24 02:58:27 +11:00
dmex 2bdfde654d peview: Fix options change restart 2021-02-01 06:02:55 +11:00
dmex 41e0926237 peview: Fix name layout, Fix resizing options window, Add missing copyright 2021-01-26 19:31:03 +11:00
dmex d01bc649cc peview: Add missing options filename 2020-09-20 05:50:44 +10:00
dmex 0f3591f71d peview: Add CRT Initializers tab, Add initial options to settings window 2020-09-20 04:24:41 +10:00
dmex 788690c421 peview: Fix warnings, Add ProdID versions for Win7 2020-09-11 23:43:37 +10:00
dmex 7403eda8b7 peview: Update general tab page layout, Add inital options window 2020-07-27 20:25:56 +10:00