Introduce many new highlighting settings and UI grouping for Options -> Highlighting, including thread, network, environment, token, memory and module color options. Add menu flags to highlight native/mapped modules and several thread wait types; wire them into dialogs and list handling. Rename and use cached process monitor settings (PhCsEnableProcessMonitor / PhCsProcessMonitorLookback / PhCsProcessMonitorCacheLimit) and update related checks. Fix TreeNew invalidation/sorting behavior to avoid unconditional rebuilds and ensure proper node invalidation. Populate default settings and cached getters for the new options.
- Add SysInfoMinimumGraphHeight and SysInfoScrollEnabled settings.
- Remove redundant TreeNew_NodesStructured calls to avoid extra re-structuring.
- Fix off-by-one checks on hybridProcessorTypeList (use >=).
- Add null/empty checks before indexing directory lists in CLR metadata handling.
- Use PhShowStatusHR and correct failure logic when CLR table enumeration fails.
- Replace mutable PVOID sortFunctions arrays with CONST _CoreCrtSecureSearchSortCompareFunction and use the correct function pointer type for sortFunction in several peview tree callbacks.
- Replace SetWindowLongPtr reset with PhSetWindowProcedure for prop sheet cleanup.
- Change dwCountElems type to ULONG in pdb printing.
* 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>
* Right align address in memory list
* add flag to make column use SYSTEM_FIXED_WIDTH font
* move PH_TREENEW_FIXED_WIDTH_FONT from TextFlags to Alignment & grab a different default mono space font
* rename PH_TREENEW_FIXED_WIDTH_FONT to PH_ALIGN_MONOSPACE_FONT
* go all in with adding setting FontMonospace
* fix Options->Advanced tree item being inserted twice
* Right align address in memory list
* add flag to make column use SYSTEM_FIXED_WIDTH font
* move PH_TREENEW_FIXED_WIDTH_FONT from TextFlags to Alignment & grab a different default mono space font
* rename PH_TREENEW_FIXED_WIDTH_FONT to PH_ALIGN_MONOSPACE_FONT
* go all in with adding setting FontMonospace
* fix Options->Advanced tree item being inserted twice
* style suggestions
* Use PhFormatToBuffer for printing memlist pointer
* Update SystemInformer/modlist.c
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
* Update SystemInformer/memlist.c
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
* use zero-padded pointers in the Modules EntryPoint & BaseAddress columns
* move module base address formatting functions near each other
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>