Commit Graph

61 Commits

Author SHA1 Message Date
dmex fc3ccd19e4 Update copyright headers 2026-07-05 10:34:37 +10:00
dmex 6eed962e3f WindowExplorer: Add window provider model support
Add new window provider and event-driven updates. The windows UI now supports pause/resume updates, richer Options (message-only/non-visible enumeration, view modes, icon toggles, snapshot finder), and improved command events. Property handling was migrated to the newer `PhPropSheetNew` builder flow, with page identity persistence, resized/layout-aware pages, and an Options menu on the properties host. The update also expands window utility helpers (visibility, icons, DWM/automation checks, remote destroy/end task, snapshot selection, tab/app metadata), adds DWM attributes column persistence, introduces new settings/resources/IDs, and wires the new source into CMake/VS projects.
2026-06-27 17:04:19 +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 3f55a60c98 re-organized phlib 2025-05-22 07:48:42 +10:00
dmex c0fa14a08b Validate imagelist handles (Fixes 32bit Windows 7) 2025-03-11 12:01:08 +11:00
dmex 5e80926729 Update wndtree.c 2024-12-28 14:54:19 +11:00
dmex b5c8ece612 Tidy up 2024-11-30 06:10:41 +11:00
ge0rdi 8255bb904e Few improvements (#2257)
* fix Ctrl+K (search box) handling

- tree view didn't pass keypresses to parent window so it was not
  possible to handle the keyboard combo
- some plugins didn't handle Ctrl+K at all

Fixes #2241

* treenew handle Ctrl+A in common code

* searchbox pressing escape will abandon search

Current search is abandoned and focus is returned to window that
previously had it, instead of closing whole dialog.

* fixup! searchbox pressing escape will abandon search

* Update SystemInformer/searchbox.c

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>

* Update SystemInformer/searchbox.c

---------

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2024-10-29 19:04:04 -06:00
dmex de6d1c9c11 Update to latest SDK 2024-09-09 07:33:45 +10:00
dmex 87bda7c70a Update wndtree.c 2024-03-22 09:59:39 +11:00
Johnny Shaw 481211b498 searchbox regex and case sensitivity support 2023-12-01 13:07:56 -07:00
dmex 81a4c635ee Plugins: Update to latest SDK, Add const types 2023-06-29 17:40:02 +10:00
dmex 7856014a07 WindowExplorer: Add icons and update properties window layout 2023-06-09 01:02:05 +10:00
Marek Knápek 3559686bad WindowExplorer: Fix crash when sorting by module in window view (#1674) 2023-04-04 13:35:02 +10:00
dmex 078cd6927c Add PhWordMatchStringLongHintZ 2023-03-21 15:38:35 +11:00
dmex 3bbf0ac914 Disable treenew redraw when adding columns 2023-03-17 16:26:52 +11:00
dmex aed45af56d WindowExplorer: Update SAL annotations 2023-02-19 11:48:53 +11:00
dmex 0148fc5c28 Fix SAL warning for interlocked variable 2023-01-11 09:29:20 +11:00
dmex 43eb9f4979 Fix incorrect checks for INT_ERROR 2022-12-26 11:27:43 +11:00
dmex 765cf68532 WindowExplorer: Add support for enumerating message-only windows, Fix class window procedure query, Update DPI texts to match processes column 2022-10-11 06:41:58 +11: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
Johnny Shaw c6e44b2fea Update copyright and license (#1256) 2022-06-13 20:33:49 -06:00
dmex a59f1c0351 Update word matching search support 2022-05-16 16:35:46 +10:00
dmex 303c3a9428 WindowExplorer: Add reset sorting menu, Improve search performance 2022-03-05 21:06:30 +11:00
dmex 3fb34cb7ce Update to PhImageList support 2021-06-05 00:06:13 +10:00
dmex bfadc5ccc4 Fix assert when selecting treenodes 2021-05-20 23:12:24 +10:00
dmex bb8f9d5032 WindowExplorer: Add EnableWindowIcons setting for showing window icons 2021-05-11 16:57:51 +10:00
dmex d63a764441 WindowExplorer: Add inspect and open location menu 2021-01-21 13:50:33 +11:00
dmex bc7c72b742 Fix SAL warning 2020-08-27 18:25:52 +10:00
dmex 220b9a09d6 WindowExplorer: Add FindWindow button #557, Add alternate enumeration #537, Add wndextra property, Fix various issues 2020-02-12 21:26:46 +10:00
Kasper Fabæch Brandt 1959a38844 Fix analyzer warnings from WindowExplorer plugin. (#529) 2019-12-23 09:25:24 +11:00
dmex 8e634490b5 Plugins: Update macro usage 2019-05-01 22:11:18 +02:00
dmex 76c572bec4 Fix searchbox memory leaks 2019-02-24 18:51:14 +01:00
dmex 0cd9dbcda6 WindowExplorer: Fix deadlock querying window text, Fix search after selecting refresh 2018-12-19 21:06:18 +01:00
dmex aeceb155af WindowExplorer: Update window properties dialog layout, Add window property storage tab, Add window module name column to treelist 2018-10-24 23:53:17 +11:00
dmex 2cdab3280b WindowExplorer: Update DelayLoadDLLs, Fix tabspace 2018-09-30 06:20:33 +10:00
dmex 27900a37b0 Plugins: Add missing copy menus to the Disk, .NET, Tracert and Windows tabs, Fix remaining contextmenu issues 2017-07-28 15:20:22 +10:00
dmex be96c74906 Plugins: Fix TreeNewContextMenu bug 2017-07-28 12:37:49 +10:00
dmex d06f6610b0 Fix github file encoding issues 2017-04-27 19:12:40 +10:00
dmex fe482bcefc WindowExplorer: Fix searching hidden window nodes 2017-02-15 20:02:18 +11:00
dmex 84503d0d67 WindowExplorer: Bump version; Add Searchbox support; 2016-12-18 17:18:20 +11:00
Wen Jia Liu ae4e16e557 Rename hashtable CompareFunction to EqualFunction 2016-02-04 02:12:18 +11:00
dmex ed44e044d0 Plugins: Fixed deprecated warnings 2016-01-15 09:35:04 +00:00
Wen Jia Liu 52be5e712d Add tool to automatically generate plugin API header file 2015-06-17 11:12:02 +00:00
Wen Jia Liu 03e2123756 Bump to 2.35; change uses of _M_IX86 and _M_X64 to _WIN64 2015-04-29 13:19:41 +00:00
Wen Jia Liu 90e92f2348 converted all annotations to SAL 2.0 2013-11-10 06:25:03 +00:00
Wen Jia Liu 615930620e patch by xhmikosr 2011-08-25 02:43:45 +00:00
Wen Jia Liu a8fd42cb4e * fixed theme data initialization in PhTnpOnNcPaint
* updated DotNetTools and WindowExplorer for themed border
2011-08-18 10:49:34 +00:00