Commit Graph

1064 Commits

Author SHA1 Message Date
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
Francois Gouget 542652deab comctl32: TTM_ADDTOOLW must refuse to set a tooltip text to NULL. 2013-12-02 10:47:24 +01:00
Michael Stefaniuc c2d07d5cf4 comctl32/tests: Make tab.c compile with -D__WINESRC__. 2013-11-25 15:15:54 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Frédéric Delanoy fdb5e13f18 comctl32/tests: Use BOOL type where appropriate. 2013-11-14 16:20:42 +01:00
Alexandre Julliard 4242c437a2 comctl32/tests: Fix a test that fails on Windows. 2013-11-11 20:56:19 +01:00
Frédéric Delanoy 5117af69a7 comctl32/tests: Use BOOL type where appropriate. 2013-11-08 12:46:11 +01:00
Saulius Krasuckas 85aa34eea6 comctl32/tests: Make propsheet.c compile with -D__WINESRC__. 2013-11-08 12:45:52 +01:00
Saulius Krasuckas f44ceec023 comctl32/tests: Make updown.c compile with -D__WINESRC__. 2013-11-08 12:45:42 +01:00
Saulius Krasuckas 6d773fd979 comctl32/tests: Make tooltips.c compile with -D__WINESRC__. 2013-11-08 12:45:34 +01:00
Saulius Krasuckas 26ec350b73 comctl32/tests: Make mru.c, pager.c and syslink.c compile with -D__WINESRC__. 2013-11-08 12:45:12 +01:00
Saulius Krasuckas 529484603b comctl32/tests: Make status.c compile with -D__WINESRC__. 2013-11-08 12:44:55 +01:00
Saulius Krasuckas 10f5a733c1 comctl32/tests: Make subclass.c compile with -D__WINESRC__. 2013-11-08 12:44:27 +01:00
Saulius Krasuckas ce91a28728 comctl32/tests: Make progress.c compile with -D__WINESRC__. 2013-11-08 12:44:00 +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 4473ce4db9 Assorted spelling fixes. 2013-10-30 09:46:27 +01:00
Nikolay Sivov 44ebba9d5e comctl32/tests: Preparation for switching __WINESRC__ on. 2013-10-22 20:19:17 +02:00
Frédéric Delanoy 1f6e66babe comctl32/tests: Use BOOL type where appropriate. 2013-10-22 16:37:40 +02:00
Piotr Caban 20019a77bc comctl32/tests: Add more updown control value tests. 2013-10-16 20:49:26 +02:00
Piotr Caban 26c751ea29 comctl32: Ignore tooltip position passed in TTM_TRACKPOSITION if TTF_TRACK flag is not set. 2013-10-15 16:36:12 +02:00
Michael Stefaniuc 37caf788b5 comctl32/tests: comctl32.dll is already loaded. 2013-10-02 13:03:29 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Francois Gouget d3672524ed Assorted spelling fixes. 2013-10-01 19:09:08 +02:00
Thomas Faber 43dd359ebe comctl32: Remove superfluous const from DPA/DSA function signatures. 2013-09-30 11:33:36 +02:00
Nikolay Sivov 88d5cab5e9 comctl32/tests: Manually load comctl32.dll with newly activated context. 2013-09-09 11:27:59 +02:00