Commit Graph

302 Commits

Author SHA1 Message Date
Piotr Caban 7b1ff882d1 comctl32: Initialize treeview checkboxes in WM_PAINT when TVS_CHECKBOXES was passed during control creation. 2013-10-31 18:24:25 +01:00
Piotr Caban 40648ddfd5 comctl32: Initialize himlState list in TREEVIEW_Paint when TVS_CHECKBOXES flag is set. 2013-10-31 18:24:23 +01:00
Daniel Jelinski 0ba24895f6 comctl32: Do not rearrange treeview when collapsing already collapsed item. 2013-08-16 11:55:23 +02:00
Nikolay Sivov 6f15ca3e47 comctl32: Paint item as selected if it's TVIS_SELECTED and also focused. 2013-05-09 19:24:21 +02:00
Ken Thomases c5858c16a6 comctl32: Improve mouse wheel scrolling in treeview control.
Allow fractions of WHEEL_DELTA to scroll fractions of SPI_GETWHEELSCROLLLINES,
although still only whole lines.  Keep the remainder and apply it to next
event if in same direction.
2013-02-11 11:46:10 +01:00
Andrew Talbot 85ebbadcb0 comctl32: Indentation fix. 2012-12-17 11:47:39 +01:00
Nikolay Sivov fbd7f8813f comctl32: Fix font style when item is bold and hovered in track mode. 2012-12-11 20:45:41 +01:00
Andrew Talbot 441780b2f1 comctl32: Indentation fix. 2012-12-11 12:03:41 +01:00
Daniel Jelinski 0b6cf6e46a comctl32: Fix notifications and return value when collapsing already collapsed node. 2012-10-16 11:38:27 +02:00
Daniel Jelinski 9933f5e446 comctl32: Do not send TVN_ITEMEXPANDING when expanding item with no children. 2012-10-16 11:37:58 +02:00
Daniel Jelinski 06d284cabb comctl32: Allow expanding/collapsing treeview nodes multiple times. 2012-10-15 15:25:38 +02:00
Christian Costa 55ff254986 comctl32: Invalid format returned by NF_QUERY defaults to ANSI in treeview. 2012-09-24 16:38:16 +02:00
Michael Stefaniuc 175eaf1074 comctl32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:29:01 +02:00
Daniel Jelinski baed448fc7 comctl32/treeview: Fix the position reported by WM_CONTEXTMENU. 2012-07-17 13:09:43 +02:00
Daniel Jelinski 067d528855 comctl32/treeview: Send WM_CONTEXTMENU only to parent window. 2012-07-17 13:09:43 +02:00
Daniel Jelinski 5e86d84337 comctl32/treeview: Inlined TREEVIEW_RButtonUp. 2012-07-17 13:09:43 +02:00
Daniel Jelinski c7212f8262 comctl32/treeview: Send WM_CONTEXTMENU everywhere, not just over items. 2012-07-17 13:09:42 +02:00
Daniel Jelinski 602dea1e12 comctl32/treeview: Fix NM_RCLICK behavior. 2012-07-17 13:09:42 +02:00
Daniel Jelinski 7e56fd38d8 comctl32/treeview: Clean up mouse tracking code. 2012-07-17 13:09:42 +02:00
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