Commit Graph

283 Commits

Author SHA1 Message Date
Daniel Jelinski 1196aed33f comctl32: Allow label edit only if treeview style allows editing. 2012-06-07 16:26:25 +02:00
Nikolay Sivov 95a15a3482 comctl32: Make it possible to use TVM_GETITEM with item from another tree. 2012-05-22 17:44:00 +02:00
Nikolay Sivov 91fbef88bf comctl32: Never release state image list. 2012-01-30 12:04:58 +01:00
Nikolay Sivov 1bc331f31f comctl32/treeview: Free checkbox imagelist when control is about to be killed. 2011-10-03 14:39:03 -05:00
Nikolay Sivov c13bf5a58c comctl32/treeview: Set edit box text before notification and keep it after. 2011-08-22 16:14:35 +02:00
Nikolay Sivov 7445dcee05 comctl32/treeview: Remove redundant initializer (Clang). 2011-07-04 13:41:00 +02:00
Piotr Caban f831f77515 comctl32: Use vssym32.h instead of tmschema.h. 2011-06-27 15:06:49 -05:00
Nikolay Sivov bcb98d11ba comctl32/treeview: TVM_EXPAND with TVE_TOGGLE action shouldn't always notify as it does on user input. 2011-05-25 11:54:13 +02:00
Nikolay Sivov 9bdd21cad5 comctl32/treeview: Correctly draw cut items. 2011-05-23 11:17:36 +02:00
Nikolay Sivov a1f7c09b1c comctl32/treeview: Item text should be vertically aligned. 2011-05-23 11:17:24 +02:00
Nikolay Sivov 4b741e8d2f comctl32/treeview: Always draw a '+' for TVIS_EXPANDPARTIAL state. 2011-05-23 11:17:15 +02:00
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