Commit Graph

26 Commits

Author SHA1 Message Date
dmex 8bc474c462 Improve menu, DPI, and UI handling
Improve DirectComposition menu cancellation and shadow behavior, apply suggested window bounds on DPI changes, and process queued main-thread invokes in order. Also centralize window-overlap detection, harden composition-attribute lookup, and register search filters only after the search box is created.
2026-10-26 10:36:31 +11:00
dmex af4feb4ce6 Adjust window shadows for dark theme 2026-10-13 17:30:44 +11:00
dmex 86cb1b6261 Handle button window shadows
Add `PhAddWindowShadowButtonOccluder` to include visible `WC_BUTTON` controls in shadow occlusion. This fixes popup/drop-down cases where `TrackPopupMenu` is owned by the dialog and the originating button was previously missed.
2026-10-08 14:02:40 +11:00
dmex e7fffcc8ee Improve UI theming and search control behavior
This changeset overhauls several UI infrastructure paths: it adds richer column drag/drop visuals, expands the search box with fuzzy matching and match-range APIs, and refactors theme handling (including Explorer-style palette support, buffered/non-client paint cleanup, and new theme file utilities). It also hardens core behavior with many reliability fixes, such as bounded HTTP download buffering, safer process/service enumeration and handle ownership updates, improved window/context lifecycle handling, DPI/layout fixes, and broader consistency updates across dialog/list-view drawing and helper APIs.
2026-10-02 13:27:30 +10:00
dmex 162da2d30a Add custom subitem drawing to ExtLV
Extend the extended list-view custom draw path with a subitem draw callback. The control now stores a `PPH_EXTLV_DRAW_SUBITEM` handler, opts into `CDRF_NOTIFYSUBITEMDRAW` when present, and skips default rendering when the callback handles a subitem. A new `ELVM_SETSUBITEMDRAWFUNCTION` message wires the callback into the control.
2026-09-25 15:19:05 +10:00
dmex 76b9cad56d Improve window selection targeting and add popup shadows
Reworked `phlib/directdraw.cpp` to use DIB-based rendering paths and remove unnecessary screen-DC dependencies in bitmap/icon and snapshot code. Window selection logic now skips cloaked windows, improves snapshot hit-testing by enumerating visible top-level/child windows, and tightens window class registration/creation handling (including proper instance/cbSize setup and atom checks). This also adds a new layered popup shadow system (`PhCreate/Update/DestroyWindowShadow` and affinity support) that draws DPI-scaled rounded soft shadows for popup menus on modern Windows where system drop shadows are no longer reliably applied.
2026-09-25 15:00:02 +10:00
Johnny Shaw c38ff481d8 wnddlg fix find window 2026-08-29 11:28:20 -06:00
dmex 943d5f084f Fix directdraw cleanup 2026-07-17 12:08:33 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex ca6af0ea2d Refactor UI buffering and propsheet behavior 2026-06-27 17:00:05 +10:00
dmex 6de9210dc4 Add GPU adapter stats option; directdraw/guisup fixes 2026-06-21 23:24:15 +10:00
dmex 4ed3e94a01 Add window targeting API and overlay 2026-06-21 17:22:37 +10:00
dmex 9fb8efbab2 Update window target 2026-06-20 09:56:45 +10:00
dmex 7fedbc2fc1 Add V2 toast support, UI tweaks, settings schema
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.
2026-06-17 12:15:26 +10:00
dmex 6e8574a8c4 Add PhConvertBitmapToIcon 2026-06-15 09:32:42 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 0c5b05c239 Fix typo and add optional transparent parent 2025-03-26 20:09:35 +11:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
dmex a836d23834 Add PhGdiplusConvertHBitmapToHIcon 2024-09-22 12:36:41 +10:00
dmex 43af656cb6 Allow PhGdiplusConvertBitmapToIcon to change background colors 2023-07-06 02:48:37 +10:00
dmex 842a5248d7 Fix memory leak when using EnablePackageIconSupport 2023-06-21 09:42:05 +10:00
dmex 870a671c19 Add PhLoadCursor, PhSetCursor, PhLoadArrowCursor, PhLoadDividerCursor 2023-05-23 22:38:15 +10:00
dmex 6a55acc49b Add PhCreateBackgroundWindow 2023-04-06 16:03:23 +10:00
dmex a1f78c20df Remove whitespace 2023-02-15 11:28:07 +11:00
dmex 4624336bd0 Add GdiPlus to manifest 2023-01-31 03:10:58 +11:00
dmex 01968963ff Add support for packaged process icons 2022-12-21 23:35:18 +11:00