Commit graph

211 commits

Author SHA1 Message Date
Rob Shearman
783b5b49a2 comctl32: Remove some more useless asserts. 2008-02-16 13:52:33 +01:00
Rob Shearman
82c41bb596 comctl32: Fix the character count passed to GetWindowTextW in TREEVIEW_Command. 2008-02-16 13:52:28 +01:00
Rob Shearman
affe20164e comctl32: Remove a useless assert from TREEVIEW_GetItemIndex. 2008-02-16 13:52:24 +01:00
Lei Zhang
3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Austin English
c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Francois Gouget
44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Andrew Talbot
863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Gregor Brunmar
f18b428ccf comctl32: Added context menu to treeview. 2007-12-07 19:01:45 +01:00
Andrew Talbot
1bf787d521 comctl32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Andrew Talbot
4ccd78c2a1 comctl32: Fix a memory leak. 2007-09-14 14:42:59 +02:00
Aric Stewart
78da158ef8 comctl32: treeview: Ensure our textWidth is correct when returning the size of the text box. 2007-09-11 11:47:42 +02:00
Aric Stewart
4939aa2497 comctl32: Ensure item metric are calculated when an item becomes visible. 2007-09-11 11:47:30 +02:00
Dmitry Timoshkov
3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Mikołaj Zalewski
81cf09c6da comctl32: treeview: Treeviews shouldn't be sending NM_TOOLTIPSCREATED (with testcase). 2007-05-07 14:26:22 +02:00
Felix Nawothnig
fe5881c788 comctl32: Allow enabling TVS_CHECKBOXES on the fly. 2007-04-07 11:01:22 +02:00
Andrew Talbot
3c9f867f77 comctl32: Constify some variables. 2007-04-03 11:22:06 +02:00
Piotr Caban
2b1f1093f0 comctl32: Set label width after editting. 2007-03-27 12:34:23 +02:00
Piotr Caban
47aaf09dc3 comctl32: Fixed TreeView_EndEditLabelNow crash. 2007-03-26 12:34:27 +02:00
Felix Nawothnig
6a514819db comctl32: Fix visual glitches with TVS_HASLINES. 2007-03-13 21:55:01 +01:00
Felix Nawothnig
5cdcfbfaa0 comctl32: Fix a typo. 2007-03-12 12:03:32 +01:00
Felix Nawothnig
8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Duane Clark
5bc1a8de87 treeview: Scrolling does not cause label being edited to lose focus. 2007-02-12 12:39:34 +01:00
Duane Clark
7942f5a0e4 treeview: Fix horizontal scrolling. 2007-01-12 11:53:06 +01:00
Felix Nawothnig
2eb171c1f5 treeview: Initialize iImage and iSelectedImage with zero. 2007-01-09 12:04:40 +01:00
Alexandre Julliard
656fc93815 Use GetDC instead of CreateDC where possible. 2007-01-02 17:16:36 +01:00
Alexandre Julliard
7cca856315 comctl32: Properly handle negative coordinates for mouse events. 2006-10-25 17:41:48 +02:00
Michael Ploujnikov
1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
James Hawkins
3d2b37cc83 comctl32: Set the TVIF_TEXT mask when notifying the parent window of a selection change. 2006-10-04 09:59:27 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
qingdoa daoo
53654c6938 comctl32: Update first visible when appropiate in the TVI_SORT case. 2006-05-07 10:00:40 +02:00
Alexandre Julliard
6b76244bf4 Fixed creation of PS_ALTERNATE pens. 2006-01-30 15:02:53 +01:00
Eric Pouech
1d2f975ba9 comctl32: Fixed (harmless) typo. 2005-12-12 11:54:35 +01:00
Francois Gouget
0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Alex Villacís Lasso
4082e9a69c Do not issue a GetUpdateRect() to query an update region for
WM_PAINT(wParam=HDC) case. Instead, use GetClientRect() for a bounding
rect.
2005-11-08 13:11:48 +00:00
Michael Kaufmann
e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Marcus Meissner
bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Frank Richter
9e57091ffa Fix warnings in 64bit. 2005-08-30 10:07:17 +00:00
Frank Richter
171fea006d Add theming for treeview control. 2005-07-28 10:15:10 +00:00
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