Krzysztof Foltman
112df73530
Don't send TVN_SELCHANGING nor TVN_SELCHANGED if the same item is
...
selected again.
2005-06-13 11:38:55 +00:00
Vitaliy Margolen
71be094420
Don't redraw if no information has changed.
...
Fixed endless redraw loop if app using callback for images and/or
text.
Keep color changes made by app for the current draw cycle.
2005-04-18 10:20:51 +00:00
Vitaliy Margolen
3b3574a468
Send notifies after invalidating changed areas.
...
Don't use custom draw returned colors for control.
2005-04-14 13:56:12 +00:00
Jason Edmeades
06c7c90a69
Make the treeview correctly search when the top index is selected.
2005-03-23 11:58:58 +00:00
Dimitrie O. Paun
a46b7fb404
Complete unicodification of the treeview common control.
2005-03-23 10:24:42 +00:00
Robert Shearman
6a365e0074
iSelectedImage is allowed to be 0.
2005-03-21 10:51:14 +00:00
Evan Deaubl
20c93c2c0d
TREEVIEW_DoSelectItem should not do any of the TVGN_FIRSTVISIBLE work
...
if the newSelect parameter is NULL.
2005-03-14 10:51:06 +00:00
Martijn Vernooij
2c2db4b486
Scroll instead of repainting when expanding/collapsing trees.
...
Don't repaint on hover if 'hot tracking' isn't on.
2005-02-22 19:31:01 +00:00
Jon Griffiths
ae720e6d7c
Increase the required rectangle size before drawing big +/-.
2005-01-14 15:13:24 +00:00
Robert Shearman
040850e8c5
Don't highlight text in non-TVS_TRACKSELECT mode.
2005-01-11 10:39:33 +00:00
Eric Pouech
cf1d00bb08
Removed excessive statement (break after return or goto, not useful
...
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Crestez Leonard
30cde9b1a8
Fix bug with Treeview_SelectItem reselecting the same item.
2005-01-07 15:34:25 +00:00
Francois Gouget
9d589acc26
Assorted spelling fixes.
2005-01-04 20:39:54 +00:00
Robert Shearman
1e92f4a3c7
- Add code for hot tracking.
...
- Draw hot items with underline and with highlight colour with
TVS_TRACKSELECT style.
- Set cursor to hand cursor with TVS_TRACKSELECT style.
- Make sure uInternalStatus is consistent with actual scrollbar state
by forcing scrollbars off in WM_CREATE handler.
2004-12-17 18:52:04 +00:00
Huw Davies
3138b4a8fa
The default font for the treeview should be the icon title font.
2004-11-21 15:41:08 +00:00
Robert Shearman
8d28e0314c
Remove unnecessary WNDPROC casts.
2004-11-06 03:49:03 +00:00
Jon Griffiths
0fa33cad49
Draw +/- correctly for large icon sizes.
2004-10-07 17:34:31 +00:00
Francois Gouget
67aa858a31
Assorted spelling fixes.
2004-10-05 18:15:29 +00:00
Robert Shearman
847c81df89
Determine whether to do label edit before sending NM_CLICK.
2004-09-28 19:17:17 +00:00
Jon Griffiths
f479f10660
Item height/expand button width must be >= than imagelist size.
...
Avoid a magic number, add FIXME for incorrect +/- drawing.
2004-09-28 02:35:48 +00:00
Filip Navara
317d6c592a
Fix obviously wrong condition in an "if" statement.
2004-09-23 22:51:29 +00:00
Jon Griffiths
3772c73a6c
CreateDCA -> CreateDCW
2004-09-13 23:22:30 +00:00
Vitaliy Margolen
ba5d267b70
Make sure TreeView gets redrawn after calling EnsureVisible.
2004-09-13 19:17:35 +00:00
Robert Shearman
cdb263e588
Replace GetWindowLong by GetWindowLongPtr.
2004-08-25 17:33:01 +00:00
Huw Davies
7e1d83ee70
Implemented TVS_NOSCROLL.
2004-05-02 04:20:06 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Martin Fuchs
5307b3f598
Return TRUE for TVM_EXPAND if treeview item is already expanded.
2004-04-14 04:27:59 +00:00
Steve Lustbader
a752885c3d
Handle the firstVisible item being NULL in
...
TREEVIEW_UpdateScrollBars().
2004-03-01 23:10:52 +00:00
Mike Hearn
d04f253aa9
Grow the treeview control expander button by 1px in each direction to
...
match the native look.
2004-02-16 22:19:29 +00:00
Huw Davies
d9558dbd19
Fix a TRACE.
2004-02-12 20:06:04 +00:00
Huw Davies
84e7547ef1
Move the selection to the previous sibling if it can't go to the next
...
or the parent.
Fix the selection change logic.
2004-01-21 22:16:02 +00:00
Alexandre Julliard
502f6c5634
Removed incorrect uses of DUMMYUNIONNAME.
2004-01-07 00:47:35 +00:00
Huw Davies
6cfbf89529
Merge {Set,Insert}Item[AW] to {Set,Insert}ItemT.
2003-11-27 01:11:01 +00:00
Ulrich Czekalla
1afef2c732
In TREEVIEW_EnsureVisible handle case where firstVisible is NULL.
2003-11-27 00:55:18 +00:00
Huw Davies
96b9057097
Merge GetItem[AW] into GetItemT.
2003-11-26 22:26:19 +00:00
Aric Stewart
d78dfc8e44
Redraw if bold state changes.
2003-11-26 22:07:17 +00:00
Ulrich Czekalla
12f7a36132
Always recompute an item's text width in the case of text callbacks
...
and when its attributes change.
2003-11-26 22:03:58 +00:00
Huw Davies
5693ecd212
Unicodification. Based on a patch by Aric Stewart.
2003-11-26 03:37:30 +00:00
Huw Davies
4a8e33954e
We need to send TVN_EXPAND* on collapsing either when the user has
...
initiated it with the mouse/keybaord or in response to a TVM_EXPAND
when the state is not TVIS_EXPANDEDONCE. This brings the logic into
line with TREEVIEW_Expand.
2003-11-21 21:30:20 +00:00
Dimitrie O. Paun
c594043316
Make the controls send notifications to the parent window passed to
...
them in CREATESTRUCT. Based on a treeview patch by Igor Grahek.
2003-11-20 22:04:13 +00:00
Dimitrie O. Paun
6443ee58bc
Cleanup the edit wndproc a bit.
2003-11-20 04:19:59 +00:00
Dmitry Timoshkov
d6872aff18
Avoid setting infoPtr->firstVisible to NULL in TREEVIEW_Sort.
2003-11-13 20:49:00 +00:00
Adam Gundy
c2d90611f6
Only send TVN_ITEMEXPANDING for items marked as having children.
2003-10-15 21:01:54 +00:00
Dimitrie O. Paun
7de279a73a
Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}.
2003-09-22 21:32:33 +00:00
Alexandre Julliard
f5cb3dde17
Moved undocumented functions out of the exported commctrl.h.
2003-09-17 20:15:21 +00:00
Alexandre Julliard
9d61596624
SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara).
2003-09-17 04:28:28 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Maxime Bellengé
cb1c112dd6
Fix the creation of treeview with checkboxes.
2003-08-23 23:18:48 +00:00
Maxime Bellengé
3db30e376c
Fix unreachable TVHT_ONITEMSTATEICON in TREEVIEW_LButtonDown.
2003-08-19 00:57:08 +00:00