Nikolay Sivov
cd55d74742
comctl32/trackbar: Update thumb on range change.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:18:12 +09:00
Michael Stefaniuc
cbca4b3f51
comctl32/tests: Use EqualRect() instead of memcmp() to compare RECTs.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 11:23:34 +09:00
Michael Stefaniuc
96185e23b4
comctl32/tests: Use wine_dbgstr_rect() to print RECTs.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:07:45 +09:00
Michael Stefaniuc
fe9f23a2cb
comctl32/tests: Use EqualRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 18:47:24 +09:00
Frédéric Delanoy
778717673e
comctl32/tests: Fix a couple typos in ok() calls.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 00:53:51 +09:00
Nikolay Sivov
d1594aadda
comctl32/header: Implement HDM_SETFILTERCHANGETIMEOUT.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:37:18 +09:00
Andrey Gusev
7f0531cd40
comctl32/tests: Fix a typo in ok() call.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:19 +09:00
Nikolay Sivov
75059e9ee1
comctl32/tooltips: Cut tooltip text at first tab char unless TTS_NOPREFIX is used.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:27 +09:00
Nikolay Sivov
22bfbfe9fc
comctl32/tests: Remove some casts we don't need.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:23:18 +09:00
Nikolay Sivov
b7f1839583
comctl32/tests: Simplify static text data initialization.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:17:36 +09:00
Nikolay Sivov
025508f755
comctl32/tests: Fix wrong use of HDM_GETITEM when getting item text.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:17:34 +09:00
Michael Stefaniuc
87bc2aa607
comctl32/tests: Use SetRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-08 23:24:48 +09:00
Bruno Jesus
bc35781929
comctl32/tests: Add initial tests for the animation control.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:30 +09:00
Nikolay Sivov
a62d178744
comctl32/datetime: Use MCM_GETRANGE result directly in DTM_GETRANGE.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 10:15:18 +09:00
Nikolay Sivov
6870144022
comctl32/monthcal: Always reset range flags and date limits on MCM_SETRANGE.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 10:15:13 +09:00
Nikolay Sivov
c075d5aafd
comctl32/monthcal: MCM_GETRANGE does not return BOOL values.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 19:06:21 +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
Nikolay Sivov
780ebcc7d9
comctl32/tests: Simplify tests using todo_wine_if().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:42 +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
Akihiro Sagawa
af4a757ad2
comctl32: Prevent invalid focus change notifications from LVS_OWNERDATA lists.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-21 00:00:21 +09:00
Akihiro Sagawa
d1841f496b
comctl32/tests: Fix a typo.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 01:48:52 +09:00
Nikolay Sivov
88ea4c520b
comctl32/trackbar: Update thumb immediately on key press.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 00:11:47 +09:00
Nikolay Sivov
a65ddbf153
comctl32/trackbar: Update thumb immediately on TBM_SETPOS.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 14:54:47 +09:00
Nikolay Sivov
1fce80024b
comctl32/tests: Separate individual Trackbar tests from each other.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-09 17:30:04 +09:00
Vincent Povirk
45e706a2a7
comctl32/tests: Accept touchscreen-related messages in button tests.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:51 +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
Dmitry Timoshkov
acc1092ea9
comctl32/tests: Add a test for system class properties.
...
This is basically a copy of user32/class.c test.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:17 +09:00
Aric Stewart
bcefe114e8
comctl32: ILC_COLORDDB imagelists can be created with 0 sizes.
...
Negative values are still invalid.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 22:19:29 +09:00
Nikolay Sivov
eb6a872273
comctl32/tests: Enable visual tests in interactive mode, fix build failure.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:13:40 +09:00
Nikolay Sivov
1b5aaa1639
comctl32/tests: Test more return values (Clang).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 11:29:19 +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
Piotr Caban
7d6ca63154
comctl32/tests: Flush events in listview tests after setting foreground window.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:38 +09:00
Nikolay Sivov
490b4eec4b
comctl32/tests: Fix function prototype (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:46:13 +09:00
Michael Stefaniuc
88531272ce
comctl32/tests: IDI_APPLICATION is already an INTRESOURCE (PVS-Studio).
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 22:24:56 +09:00
Michael Stefaniuc
a16a270751
comctl32/tests: WC_DIALOG is already an INTATOM (PVS-Studio).
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 22:24:52 +09:00
Piotr Caban
aa39614e77
comctl32: Test TrackMouseEvent flags when LVS_EX_ONECLICKACTIVATE style is used.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 21:28:49 +09:00
Piotr Caban
4dd26ee814
comctl32: Don't ask for WM_MOUSEHOVER messages when LVS_EX_TRACKSELECT was not specified.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 21:28:49 +09:00
Michael Müller
1e2c0a3029
comctl32/tests: Add tests for LoadIconMetric function.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-06 00:01:55 +09:00
André Hentschel
80f887a064
comctl32/tests: Add ARM and ARM64 arch strings.
2015-08-12 22:52:24 +09:00
Huw Davies
f6653a93eb
comctl32/tests: Extra WM_PAINT messages are occasionally sent on Vista and Win 7.
2015-07-06 20:08:21 +09:00
Huw Davies
2a71d13b6b
comctl32: Implement the legacy notifications during restore.
2015-07-02 16:54:01 +09:00
Huw Davies
6c95445559
comctl32: Set the default separator width when notifying a -ve cmd id.
2015-07-02 16:53:58 +09:00
Huw Davies
eddfefa54f
comctl32: Reset the string and lparam fields between notifications.
2015-07-01 19:18:27 +09:00
Huw Davies
96a6184c30
comctl32: All negative entries in the toolbar save state are special cases.
2015-07-01 19:18:27 +09:00
Huw Davies
77ed3733af
comctl32: The number of buttons is set by the first TBN_RESTORE notification.
2015-07-01 19:18:27 +09:00
Huw Davies
063c7866f5
comctl32: Implement toolbar saving.
2015-07-01 19:18:26 +09:00
Bernhard Übelacker
ccf2ea6179
comctl32/tests: Free memory used by property sheet page (Valgrind).
2015-06-18 21:41:02 +09:00
Huw Davies
a1d54447b8
comctl32/tests: Skip the hover tests if the listview's parent is not the foreground window.
2015-05-21 20:01:29 +09:00
Huw Davies
797f42699e
comctl32: Wrap the buttons inside the toolbar's client rect.
...
The toolbar need not be the same width as the parent.
2015-05-19 22:57:27 +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
Huw Davies
eb8df37a69
comctl32: Remove button wrap states when TBSTYLE_WRAPABLE is cleared.
2015-04-30 16:17:59 +09:00
Huw Davies
abd673bde9
comctl32: A change in TBSTYLE_WRAPABLE should produce a recalc.
2015-04-28 20:23:59 +09:00
Aric Stewart
aba3b131bc
comctl32: TTM_SETTOOLINFO does not change subclassing flags.
2015-04-27 19:33:28 +09:00
Huw Davies
5b7b911f06
comctl32: TBSTYLE_EX_MIXEDBUTTONS doesn't mean buttons should be auto-sized.
2015-04-20 14:36:55 +09:00
Nikolay Sivov
af30ffaa43
comctl32/tests: Fix couple of metrics tests that fail on some systems.
2015-04-02 23:14:36 +09:00
Nikolay Sivov
30cdd59252
comctl32/listview: Always forward HDM_SETORDERARRAY to a header.
2015-03-31 14:47:56 +09:00
Alexandre Julliard
9f1f5d885c
comctl32: Print full flag values in traces.
2015-03-30 19:49:13 +09:00
Nikolay Sivov
5c2e7075df
comctl32/listview: Always forward LVM_GETCOLUMNORDERARRAY to header.
2015-03-30 16:37:40 +09:00
Nikolay Sivov
59cb4ff6f3
comctl32/tests: Listview doesn't subclass its header.
2015-03-25 19:38:30 +09:00
Nikolay Sivov
9d0ebc13ac
comctl32/tooltips: Allow NULL hinst value when fetching text from resources.
2015-03-24 14:07:17 +09:00
Nikolay Sivov
b6dc726bbd
comctl32/listview: Update view on style change only if LVS_TYPEMASK styles have changed.
2015-03-23 16:36:06 +09:00
Nikolay Sivov
f935a10add
comctl32/tests: Fix Monthcal tests failures on some VMs.
2015-03-02 13:54:13 +09:00
Nikolay Sivov
44dbf381a7
comctl32/tests: Fix imagelist leak (Valgrind).
2014-12-01 11:00:20 +01:00
André Hentschel
ab7228f318
comctl32/tests: Remove unused structs (Clang).
2014-11-25 19:49:33 +01:00
Bruno Jesus
a2818db03b
comctl32/tests: Remove a dead assignment in misc.c (Cppcheck).
2014-11-03 16:32:07 +09:00
Bruno Jesus
f4a13b9f1b
comctl32/tests: Remove dead assignments in treeview.c (Cppcheck).
2014-11-03 16:32:03 +09:00
Huw Davies
dd856be316
comctl32/tests: Post a key-down message rather than use keybd_event.
2014-11-03 16:31:52 +09:00
Bruno Jesus
2c5f05b860
comctl32/tests: Remove a dead assignment from dpa.c (Cppcheck).
2014-10-31 13:14:59 +09:00
Bruno Jesus
2ccd55e56f
comctl32/tests: Remove dead assignment in comboex.c (Cppcheck).
2014-10-31 13:14:56 +09:00
Huw Davies
433df0d5d8
comctl32: Enable the appropriate wizard buttons before sending DM_SETDEFID.
2014-10-30 23:09:52 +09:00
Michael Stefaniuc
89e9d6db33
comctl32/tests: Add some ImageList_BeginDrag() tests.
2014-10-07 10:14:25 +02:00
Francois Gouget
0dd5cb1cef
Assorted spelling fixes.
2014-09-29 10:36:36 +02:00
Nikolay Sivov
055129485d
comctl32/tests: Avoid testing uninitialized value (Valgrind).
2014-06-16 09:28:10 +02:00
Nikolay Sivov
f109a084e8
comctl32/imagelist: Update to IImageList2.
2014-06-12 13:19:06 +02: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
fa3e750e2c
comctl32/listview: Fix custom draw stage sequence.
2014-05-12 10:55:09 +02:00
Nikolay Sivov
9b2ea63311
comctl32/tests: Initialize text buffer pointer (Valgrind).
2014-04-25 10:17:36 +02:00
Nikolay Sivov
fe3f12335d
comctl32/treeview: Restore hdc before CDDS_ITEMPOSTPAINT.
2014-04-21 11:09:51 +02:00
Nikolay Sivov
d24095a7d1
comctl32: Fix LVN_DELETEALLITEMS notification for LVS_OWNERDATA case.
2014-04-09 14:58:17 +02:00
Nikolay Sivov
9d1232a1ec
comctl32/tests: Fix uninitialized variable case (Coverity).
2014-03-25 10:56:25 +01:00
Christoph von Wittich
7d5deb2e7f
comctl32/tests: CCS_VERT should be set when TBSTYLE_EX_VERTICAL is set.
2014-03-04 11:49:10 +01:00
Nikolay Sivov
35e23dde27
comctl32/tests: Some tests for Button control.
2014-02-17 11:16:16 +01:00
Nikolay Sivov
91672c8453
comctl32/tests: Don't assert() on test failures.
2014-02-13 17:52:13 +01:00
Nikolay Sivov
0e73e478ff
comctl32/tab: Fix TCM_SETCURSEL on negative indices.
2014-02-10 10:41:47 +01:00
André Hentschel
e32237d34a
comctl32/tests: Avoid preprocessor checks to ensure it compiles.
2014-01-27 17:01:56 +01:00
Andrey Gusev
be367393c9
Assorted typos fixes.
2014-01-13 17:37:42 +01:00
Frédéric Delanoy
29b2db009c
comctl32/tests: Use BOOL type where appropriate.
2014-01-03 18:08:51 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Michael Stefaniuc
5092ecf6fe
comctl32/tests: Finally compile with -D__WINESRC__.
2013-12-04 11:06:53 +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
André Hentschel
66932a8855
comctl32/tests: Make trackbar.c compile with -D__WINESRC__.
2013-12-03 12:33:24 +01:00
André Hentschel
e810a58494
comctl32/tests: Make toolbar.c compile with -D__WINESRC__.
2013-12-02 10:52:20 +01:00
André Hentschel
af9073accb
comctl32/tests: Make rebar.c compile with -D__WINESRC__.
2013-12-02 10:51:58 +01:00
Michael Stefaniuc
4b59a4266a
comctl32/tests: Make monthcal.c compile with -D__WINESRC__.
2013-12-02 10:50:44 +01:00