Johnny Shaw
eea3b085cd
treenew fix stack overflow inserting nodes of very deep trees
2026-09-02 19:04:55 -06:00
Johnny Shaw
39493fa785
treenew fix touch scroll with custom scrollbars
2026-08-31 01:15:04 -06:00
dmex
15ec45a121
Update copyright year
2026-07-01 01:43:30 +10:00
dmex
6dd47437e4
Add VScrollThumbTracking to tree context
2026-06-21 15:08:40 +10:00
dmex
05200ae6d4
Optimize treenew layout and painting cache
...
Introduce a layout geometry cache to avoid redundant MoveWindow/SetWindowPos/TTM_NEWTOOLRECT calls: add cache fields to the context and PhTnpInvalidateLayoutCache(), and call it on font/settings/theme/DPI changes. Replace per-row CreateRectRgn/GetClipRgn/DeleteRgn with a single SaveDC/RestoreDC bracket in PhTnpPaint to eliminate O(N) kernel region allocations during WM_PAINT. Other changes: update scrollbars, add a small stack buffer optimization for column reorder arrays, use SWP_NOOWNERZORDER when positioning tooltips, and minor formatting/fixes in layout and notify handling.
2026-06-20 02:14:11 +10:00
dmex
5083e2800f
Update treenewp.h
2026-04-09 19:33:28 +10:00
dmex
5d4428adbf
Add scroll anchoring to treenew
...
Introduce scroll-anchoring support to the treenew control: add explanatory comments and anchoring behavior. Define anchor-related macros and declare helper APIs (PhTnpGetMaxVScrollPosition, PhTnpFindFlatListNode, PhTnpPrepareVScrollAnchor, PhTnpGetAnchoredVScrollPosition) used to snapshot/restore viewport during structural updates to avoid visible jumps.
2026-04-09 16:14:05 +10:00
dmex
98032e6a56
Add selection bitmap caching
2026-03-25 05:35:06 +11:00
dmex
98d479b45e
Update treenew documentation
2026-01-07 05:59:44 +11:00
dmex
b1e2fa1a6c
Add treenew support for drag-reorder nodes
2025-09-22 20:02:49 +10:00
dmex
5423ff7cfb
Merge dev branch fixes ( #2680 )
2025-09-07 05:06:34 +10:00
dmex
6c20c78fb6
Merge minor fixes from dev branch
2025-08-20 11:54:19 +00:00
dmex
b8b92c246a
Fix treelist scrollbar visibility cache
2025-03-12 15:52:35 +11:00
dmex
87edd6e69a
Fix treenew column dpi scaling
2025-03-11 06:14:25 +11:00
dmex
08f4629755
Improve treenew performance by caching DPI padding
2025-02-13 21:20:08 +11:00
dmex
a1b40b530b
Update to the latest SDK
2024-12-31 22:56:12 +11:00
dmex
c87d3e67bc
Update to latest SDK
2024-09-22 12:58:26 +10:00
dmex
8c3c84da9c
Improve custom treelist header drawing
2024-09-12 10:43:53 +10:00
dmex
de6d1c9c11
Update to latest SDK
2024-09-09 07:33:45 +10:00
dmex
f57de03aea
Update SAL annotations
2023-07-09 00:25:40 +10:00
dmex
681afb3a0b
Update treenew headers, cursors and SAL annotations
2023-05-23 22:41:25 +10:00
dmex
870a671c19
Add PhLoadCursor, PhSetCursor, PhLoadArrowCursor, PhLoadDividerCursor
2023-05-23 22:38:15 +10:00
dmex
f0e571506a
Improve treelist performance and caching support
2022-12-26 16:53:05 +11:00
dmex
76b5897b14
Add double buffered cache header support
2022-12-21 03:39:07 +11:00
dmex
f6220a4f3d
Move HRGN_FULL typedef
2022-12-21 03:23:45 +11:00
dmex
2cb6667f0a
Update treenewp.h
2022-09-24 03:43:35 +10:00
dmex
9012a0c442
Add HeaderCustomDraw types
2021-12-14 09:46:38 +11:00
dmex
24388f7056
Add imagelist support to treenew control
2020-11-24 04:49:14 +11:00
dmex
f8cb4cd983
Add treenew custom theme support
2018-07-26 02:05:31 +10:00
dmex
a6572abf89
Revert commit 6a02c5b0
2018-02-05 04:00:58 +11:00
dmex
58efc08b15
Update window subclass callbacks
2018-02-04 04:31:41 +11:00
dmex
60ecff9800
Improve TreeListCustomColorsEnable setting
2018-01-25 14:05:41 +11:00
dmex
d7abd76a72
Update treenew control; Add TreeListCustomColorsEnable setting
2018-01-25 09:24:22 +11:00
dmex
33339cd802
treeview: Improve previous commit
2017-07-10 16:37:42 +10:00
dmex
d06f6610b0
Fix github file encoding issues
2017-04-27 19:12:40 +10:00
dmex
6a02c5b02f
Update window procedure callbacks
2017-02-12 02:09:07 +11:00
Wen Jia Liu
f387b70c05
Reflow phlib comments to 100 character width
2016-02-05 04:02:29 +11:00
Wen Jia Liu
e8a784e4f7
Implement mini info list section treenew
2015-06-11 13:16:48 +00:00
Wen Jia Liu
dd067e4c97
Add TN_STYLE_NO_COLUMN_HEADER style and support custom row heights
2015-06-08 10:25:10 +00:00
Wen Jia Liu
0bde627cc4
actually fixed touch scrolling
2014-08-16 05:05:37 +00:00
Wen Jia Liu
c5a251e39a
added error messages for module and handle lists
2013-11-22 08:02:38 +00:00
Wen Jia Liu
90e92f2348
converted all annotations to SAL 2.0
2013-11-10 06:25:03 +00:00
Wen Jia Liu
d6eb569b34
fixed horizontal scrolling bug
2011-08-26 09:29:57 +00:00
Wen Jia Liu
383ac11d13
enable enter key for treenew controls in dialog boxes
2011-08-26 04:22:18 +00:00
Wen Jia Liu
615930620e
patch by xhmikosr
2011-08-25 02:43:45 +00:00
Wen Jia Liu
939c373f8e
fixed treenew mouse wheel handling
2011-08-19 10:45:00 +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
Wen Jia Liu
9f0ddf6b1e
added themed borders to treenew
2011-08-18 10:04:41 +00:00
Wen Jia Liu
d0a07a2427
fixed treenew tooltip maximum width
2011-08-16 03:36:41 +00:00
Wen Jia Liu
7335a66b3b
added WM_MOUSEHWHEEL support to treenew
2011-08-16 00:25:06 +00:00