Commit Graph

272 Commits

Author SHA1 Message Date
Nikolay Sivov 28169c6d55 comctl32/treeview: Get rid of wine prefixed names. 2011-05-16 16:35:30 +02:00
Nikolay Sivov 7ef4546cfb comctl32/treeview: Properly update image state index when TVS_CHECKBOXES is switched on. 2011-05-16 16:35:29 +02:00
Nikolay Sivov f9b14fda02 comctl32/treeview: Store item state supplied from TVN_GETDISPINFO handler. 2011-05-16 16:35:29 +02:00
Nikolay Sivov 1fa1c72d90 comctl32/treeview: Always return state from TVM_GETITEM handler. 2011-05-16 16:35:29 +02:00
Nikolay Sivov 3fc6e08f2a comctl32/treeview: Remove some casts. 2010-11-17 14:01:13 +01:00
Nikolay Sivov 0517abf184 comctl32/treeview: Use a code set by dispinfo holder to convert data encoding after TVN_GETDISPINFO. 2010-11-17 14:01:13 +01:00
Nikolay Sivov 6ec621e835 comctl32/treeview: Make item data layout partially compatible with native one. 2010-11-01 16:15:05 +01:00
Nikolay Sivov 4633fc5c03 comctl32/treeview: Fix TVN_DELETEITEM to use item that is about to be deleted. 2010-10-25 12:41:41 +02:00
Nikolay Sivov 04e5e9cfa0 comctl32/treeview: Accept null item handle as a root for TVM_DELETEITEM. 2010-10-25 12:41:41 +02:00
Nikolay Sivov 66bad889f4 comctl32/treeview: Prevent item height to be calculated to zero value. 2010-10-04 15:00:07 +02:00
Nikolay Sivov b65423c546 comctl32/treeview: Erase background when painting over supplied hdc. 2010-09-27 14:13:16 +02:00
David Hedberg 31f538516a comctl32: Return 0 when extended item state is requested from a treeview. 2010-08-18 11:29:15 +02:00
David Hedberg 4507905f8b comctl32: Don't break on TVIS_NOSINGLEEXPAND. 2010-08-18 11:28:16 +02:00
Andrew Talbot ebacf49f02 comctl32: Constify some variables. 2010-08-04 12:26:15 +02:00
Nikolay Sivov 279677b7d8 comctl32/treeview: Fix possible crash in TVS_SINGELEXPAND helper (Coverity). 2010-07-28 16:28:23 +02:00
Nikolay Sivov 16dfb1a039 comctl32/treeview: Fix TVS_SINGLEEXPAND notifications order. 2010-07-26 18:38:32 +02:00
Nikolay Sivov b3a61c1329 comctl32/treeview: Properly initialize expanded image index. 2010-07-26 18:38:32 +02:00
David Hedberg b30934c529 comctl32: Warn when using unsupported extended styles. 2010-07-19 15:09:05 +02:00
David Hedberg e81d65f8d4 comctl32: Add support for expanded state image in treeview. 2010-07-19 15:09:03 +02:00
Florian Köberle 4be9f0a79b comctl32: Simplify the code. 2010-07-19 14:38:17 +02:00
Florian Köberle 42c5ff799a comctl32: Call TREEVIEW_SendExpanded after expanding. 2010-07-19 14:38:17 +02:00
Nikolay Sivov 138b2435f9 comctl32/tests: Some expand notifications tests. 2010-06-10 14:59:09 +02:00
Nikolay Sivov 16973508e7 comctl32/treeview: Remove some casts. 2010-06-08 13:00:25 +02:00
Nikolay Sivov b354935092 comctl32/treeview: Remove commented out lines. 2010-06-08 13:00:07 +02:00
Nikolay Sivov 767754031d comctl32/treeview: Activate tree verification only when TRACE() is on. 2010-06-08 13:00:03 +02:00
Huw Davies c7a9e3a1b2 comctl32: Fix an hfont leak. 2010-05-11 17:44:25 +02:00
Michael Stefaniuc 9dd502a332 comctl32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +01:00
Nikolay Sivov e81f2642f1 comctl32/treeview: Implement NM_SETCURSOR notification. 2009-12-14 12:04:05 +01:00
Nikolay Sivov 49dabfe31d comctl32/treeview: Draw +/- signs with text color, not the lines' one.
+/- aren't affected by customdraw settings, only per control
set colors used.
2009-12-14 12:04:05 +01:00
Nikolay Sivov b65a7a0052 comctl32/treeview: Fix default colors set on creation. 2009-12-14 12:04:05 +01:00
Nikolay Sivov 28d5410596 comctl32/treeview: Fix mouse tracking request code.
After query current tracking state passed parameters could be overwritten,
similar fix for Listview was recently committed.
2009-12-14 12:04:05 +01:00
Nikolay Sivov 6823e0f3ec comctl32/treeview: Remove some forward declarations. 2009-12-10 11:56:35 +01:00
Nikolay Sivov e3c34f2d29 comctl32/treeview: Use additional helper for item invalidation. 2009-12-10 11:56:23 +01:00
Kirill K. Smirnov dc45e2c513 comctl32/treeview: Avoid a NULL pointer dereference. 2009-12-09 14:54:01 +01:00
Nikolay Sivov 6d989feff9 comctl32/treeview: Free items pointer array and root item on control destruction.
Two issues here: item pointers array wasn't freed, root item data wasn't freed.
Found by Valgrind.
2009-12-07 14:18:26 +01:00
Nikolay Sivov 1804941797 comctl32/treeview: Simplify WM_CHAR handler. 2009-12-01 13:14:11 +01:00
Nikolay Sivov 277c5139d2 comctl32/treeview: Clean up winproc a bit, move parameter check to handlers. 2009-12-01 13:14:06 +01:00
Nikolay Sivov 459a0c4de9 comctl32/treeview: Collapse some message handlers. 2009-11-12 17:06:47 +01:00
Nikolay Sivov 76859b0f47 comctl32/treeview: Erase background on WM_PAINT if BeginPaint() tells us to do it. 2009-10-19 11:45:12 +02:00
Nikolay Sivov f37130c83b comctl32: Use user32 control names from public header constants instead of defining over and over again. 2009-10-08 12:11:47 +02:00
Nikolay Sivov 6bcdc69ec0 comctl32/treeview: Check passed handle value in WM_COMMAND handler. 2009-08-07 11:39:28 +02:00
Nikolay Sivov 83c9cdb797 comctl32/treeview: Use separate pointer for currently edited item. 2009-08-07 11:39:20 +02:00
Nikolay Sivov 861fb2eddd comctl32/treeview: Handle EN_KILLFOCUS in WM_COMMAND handler. 2009-08-06 17:26:34 +02:00
Dmitry Timoshkov 1d265bcac2 comctl32: Explicitly initialize visible order of a newly added item, force visible order recalculation on redraw. 2009-07-16 11:15:36 +02:00
Dmitry Timoshkov ee7ca802f4 comctl32: Do not redraw treeview in TVM_INSERTITEM handler if bRedraw is not set, trigger the redraw on WM_SETREDRAW/TRUE. 2009-07-15 14:31:23 +02:00
Vincent Povirk 49308e8da0 comctl32: Use NMTVDISPINFOEX in the TVN_GETDISPINFO notification. 2009-06-08 16:22:43 +02:00
Nikolay Sivov d93aab9c2a comctl32/treeview: Use cached colors instead of GetSysColor in TreeView. 2009-05-18 13:38:32 +02:00
Florian Köberle 5a6f956187 comctl32: Fix expanding of invisible sub trees. 2009-04-21 15:30:37 +02:00
Nikolay Sivov f35960200a comctl32: Correctly report systemcolor use for Treeview background. 2009-03-03 13:24:08 +01:00
André Hentschel 2ef02afe95 comctl32: Fix callback in treeview. 2009-01-21 10:25:06 +01:00