Hugh McMaster
febdb101e6
comctl32/tests: Add tests for mouse right-click in a treeview control.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-18 13:38:16 +02:00
Nikolay Sivov
e9c1f8112d
comctl32/tests: Fully initialize message test data (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:05:41 +02:00
Nikolay Sivov
7fae248552
comctl32/tests: Some tests for TVM_SORTCHILDREN.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:17:27 +02:00
Nikolay Sivov
1ec91f592e
comctl32/tests: Fully initialize message tests data.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:16 +02:00
Huw Davies
3ed6ba579e
comctl32: Set the text and bkgnd colours to the default before the item pre-paint notification.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-06 15:02:35 +01:00
Huw Davies
3f0002020a
comctl32/tests: Use more than one item for the custom draw tests.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-06 15:02:35 +01:00
Nikolay Sivov
2728909e6c
comctl32/tests: Basic test for TVS_FULLROWSELECT style bit.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 18:42:10 +09:00
Joachim Priesner
71a4ac73e2
comctl32: Treeview: Set visible = TRUE when deleting first visible item.
...
This fixes a crash when deleting the first visible item if it has
visibleOrder < 0 and thus the ISVISIBLE macro returns false
(this happens when both insertion and deletion happened while
bRedraw == false).
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 21:10:54 +09:00
Joachim Priesner
4c799937f6
comctl32: Treeview: Fix crash when deleting the first visible item while bRedraw == false.
...
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 21:04:42 +09:00
Nikolay Sivov
1d19eb15d4
comctl32: Item with negative cChildren acts as if it actually had children.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-24 00:25:04 +09:00
Nikolay Sivov
60fedd23f9
comctl32: Protect TVM_GETITEM from invalid item pointers.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 00:03:34 +09:00
Alex Henrie
ad49634bbe
comctl32: Send WM_NOTIFY when expanding ancestors of the new selection.
2015-05-18 19:59:27 +09:00
Alex Henrie
36297f2cb0
comctl32: Do not send WM_NOTIFY if selecting an already-selected item.
2015-05-18 19:59:27 +09:00
Alex Henrie
a0ebe244c4
comctl32: Close previously selected treeview item at common ancestor.
...
Also, send WM_NOTIFY mesages when collapsing the previous selection and
expanding the new one.
2015-05-18 19:59:27 +09:00
Alex Henrie
9f93080754
comctl32/tests: Extend TVS_SINGLEEXPAND tests.
2015-05-18 19:59:27 +09:00
Bruno Jesus
f4a13b9f1b
comctl32/tests: Remove dead assignments in treeview.c (Cppcheck).
2014-11-03 16:32:03 +09:00
Alexandre Julliard
6ad2cf9b53
comctl32/tests: Output message sequences only on failure.
2014-06-12 13:19:05 +02:00
Nikolay Sivov
a7fb6c89b3
comctl32/treeview: Send TVN_KEYDOWN in response of WM_KEYDOWN.
2014-06-11 19:15:19 +02:00
Nikolay Sivov
a709e3f98d
comctl32/treeview: Added a test for NM_RETURN.
2014-05-12 13:51:44 +02:00
Nikolay Sivov
fe3f12335d
comctl32/treeview: Restore hdc before CDDS_ITEMPOSTPAINT.
2014-04-21 11:09:51 +02:00
Nikolay Sivov
91672c8453
comctl32/tests: Don't assert() on test failures.
2014-02-13 17:52:13 +01:00
Michael Stefaniuc
4ecd867706
comctl32/tests: Make treeview.c compile with -D__WINESRC__.
2013-12-04 11:06:14 +01:00
Michael Stefaniuc
133c691f1f
comctl32/tests: Avoid non-AW aware TreeView_*() macros.
2013-12-04 11:06:05 +01:00
Piotr Caban
c4708bca33
comctl32: Add more TVS_CHECKBOXES flag tests.
2013-10-31 18:24:26 +01:00
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
Frédéric Delanoy
1f6e66babe
comctl32/tests: Use BOOL type where appropriate.
2013-10-22 16:37:40 +02:00
Nikolay Sivov
88d5cab5e9
comctl32/tests: Manually load comctl32.dll with newly activated context.
2013-09-09 11:27:59 +02:00
Nikolay Sivov
8418ae5334
comctl32: Test WM_GETDLGCODE return value for TreeView.
2013-01-30 12:43:05 +01:00
Nikolay Sivov
3938bfd30d
comctl32: Initialize id field for message tests.
2012-12-10 11:25:29 +01:00
Daniel Jelinski
50bdb257f9
comctl32/tests: Expanding/collapsing a node always sends associated messages.
2012-10-16 11:38:36 +02: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
Christian Costa
55ff254986
comctl32: Invalid format returned by NF_QUERY defaults to ANSI in treeview.
2012-09-24 16:38:16 +02:00
Daniel Jelinski
4c6803d858
comctl32/tests: Treeview shouldn't modify cChildren if it was explicitly set.
2012-06-07 19:47:59 +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
Daniel Jelinski
cd8609597a
comctl32/tests: Added tests for treeview TVM_HITTEST message.
2012-04-05 14:51:33 +02:00
Daniel Jelinski
c52d7acf54
comctl32/tests: Added test for treeview expand notifications on keyboard events.
2012-04-02 18:37:06 +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
Francois Gouget
bd7b345b26
Assorted spelling fixes & co.
2011-09-27 11:00:13 +02:00
Nikolay Sivov
c13bf5a58c
comctl32/treeview: Set edit box text before notification and keep it after.
2011-08-22 16:14:35 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Marcus Meissner
6b90f27d8f
comctl32: Fixed strncpy (Coverity).
2011-06-28 11:57:51 -05:00
Marko Nikolic
8c13dcc2e9
comctl32/tests: Use unsigned constants to remove sign comparison warning.
2011-06-01 16:08:56 +02: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
f9ca298b21
comctl32/tests: Some tests for TVM_GETNEXTITEM and item toggle.
2011-05-20 10:29:24 +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
Marcus Meissner
e766a132db
comctl32: Added missing break (Coverity).
2011-03-28 17:12:32 +02:00