Commit Graph

1362 Commits

Author SHA1 Message Date
Nikolay Sivov c170a48323 comctl32/tests: Add Static control tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-14 10:54:04 +01:00
Nikolay Sivov 0b907389cf comctl32/tests: Add ComboBox tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-14 10:53:58 +01:00
Nikolay Sivov d6c6790cb1 comctl32/tests: Rename test file.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-14 10:51:11 +01:00
Nikolay Sivov 9f019b7c76 comctl32/listview: Directly reset focused item on item count change.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-11 18:21:15 +01:00
Nikolay Sivov 3fe501fb60 comctl32/tests: Some tests for focus handling in owner-data listviews.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 12:03:04 +01:00
Nikolay Sivov 57dec76778 comctl32/syslink: Fix return value for LM_GETIDEALSIZE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 10:20:46 +01:00
Nikolay Sivov 8138ac9a3c comctl32/tests: Some cleanup for SysLink tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 10:20:44 +01:00
Alex Henrie b8d01f9e1e comctl32/tests: Detect and handle an RTL locale.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-21 21:47:42 +01:00
Huw Davies 92e999f34b comctl32: Don't create a masked imagelist if CLR_NONE is specified.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-20 17:10:47 +01:00
Fabian Maurer 32c42cc109 comctl32/taskdialog: Added support for nDefaultButton.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 20:09:04 +01:00
Fabian Maurer 18fbca7090 comctl32/tests: Add taskdialog callback tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 19:12:08 +01:00
Alex Henrie 33e275a1d0 comctl32/tests: Fix treeview test failures on French Windows XP.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-16 15:26:29 +02:00
Vadim Druzhin 2fb1002f32 comctl32/tests: Add tests for LVM_APPROXIMATEVIEWRECT in LVS_REPORT mode.
Signed-off-by: Vadim Druzhin <cdslow@mail.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-13 17:30:25 +02:00
Nikolay Sivov 2c6c5e0d05 comctl32/tests: Remove some old workarounds for platforms we don't test on anymore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 13:58:37 +02:00
Nikolay Sivov ee7ddd1ed3 comctl32/listview: Pass WM_NCCREATE down to default procedure.
Problem analyzed by Vadim Druzhin <cdslow@mail.ru>.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:04:14 +02:00
Fabian Maurer 583d246a28 comctl32/taskdialog: Initial support for callback procedure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-20 16:24:47 +02:00
Fabian Maurer 6144addcf0 comctl32/tests: Dump failed message sequence correctly.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 22:23:01 +02:00
Nikolay Sivov 5312cc6dc2 comctl32/tooltips: Return full toolinfo from TTM_GETCURRENTTOOL.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-11 18:43:41 +02:00
Fabian Maurer fdcd2a74eb comctl32/tests: Use proper size for combobox controls.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-31 18:55:21 +02:00
Nikolay Sivov 9e3ebed4a4 comctl32/taskdialog: Added TaskDialog() export.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 09:37:34 +02:00
Nikolay Sivov d93ae6ff34 comctl32/toolbar: Support undocumented IDs for standard bitmap lists.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 10:53:54 +02:00
Nikolay Sivov d05b351fe0 comctl32/tests: A bit more tests for partial strings in LVM_FINDITEM.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-22 13:45:09 +02:00
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 298ef9b93b comctl32/tests: Remove useless rand() calls (cppcheck).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-16 12:09:20 +02:00
Nikolay Sivov 1f97ef8ec5 comctl32/tests: Remove some dead code (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:11:15 +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 377d0e26b3 comctl32/tests: Trace test name only of failure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:13 +02:00
Nikolay Sivov 48c4edd9ba comctl32/pager: Prevent excessive PGN_CALCSIZE notifications during PGM_SETCHILD.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:13 +02:00
Nikolay Sivov 299ded6091 comctl32/tests: Fully initialize message tests data (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:13 +02:00
Michael Stefaniuc c7c8d24bf9 comctl32/tests: Check the correct last error code.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 11:54:01 +02:00
Stefan Dösinger 6926564677 comctl32: Don't touch the new child twice in PGM_SETCHILD.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 22:12:46 +02:00
Stefan Dösinger 310eb883b7 comctl32/tests: Extend PGM_SETCHILD tests.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 22:12:45 +02:00
Stefan Dösinger b73bf3bac3 comctl32/tests: Test messages sent to the pager child.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 22:12:45 +02:00
Stefan Dösinger 490d6f456b comctl32/tests: Don't dump successful sequences on Windows.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-07 19:47:51 +02:00
Michael Stefaniuc a6a9ec4459 comctl32/tests: Add an ImageList_Copy() test.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:47 +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
Hugh McMaster 6797ee0abf comctl32/tests: Move the WineTest subkey in toolbar.c into HKEY_CURRENT_USER\Software\Wine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-20 13:23:05 +01:00
Fabian Maurer e2245bcd3c comctl32/taskdialog: Move TaskDialogIndirect and its tests into own source files.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 18:53:29 +01:00
Nikolay Sivov 429705eaf3 comctl32/propsheet: Implement PSPCB_ADDREF/PSPCB_RELEASE notifications.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-02 10:34:00 +01:00
Nikolay Sivov a3aa217f03 comctl32/propsheet: Enforce minimal PROPSHEETPAGE structure size when creating a page.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-02 10:33:58 +01:00
Alex Henrie 690022c61b comctl32: Return TRUE from LVM_REDRAWITEMS with bad indices.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 17:23:22 +01:00
Nikolay Sivov ad7a1a0e3d comctl32/tests: Some tests for property page initialization.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:33:39 +01:00
Nikolay Sivov 14a6c98fd4 comctl32/pager: Don't block window size changes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 12:33:04 +01:00
Nikolay Sivov 948dd848fb comctl32/tests: Basic test for PGN_CALCSIZE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 12:33:04 +01:00
Peter Hater a6661ba9ad comctl32/propsheet: Added PSM_INSERTPAGE implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 11:37:01 +01:00
Nikolay Sivov a95dff6501 comctl32/tests: Use HGLOBAL stream to Read/Write tests on imagelists.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 19:52:58 +01:00
Huw Davies 2dd0fb880c comctl32: Correctly set the colour table for ILC_COLOR4 and ILC_COLOR8 imagelists.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:54 +01:00
Nikolay Sivov 970029bb9b comctl32/toolbar: Fix TB_SETDRAWTEXTFLAGS handler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 10:36:17 +01:00
Nikolay Sivov ad566da137 comctl32/tests: Use win_skip() for tests that should not be skipped on Wine.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:26:36 +01:00
Sebastian Lackner 87a3ce056e comctl32/tests: Add tests for PROPSHEET_InsertPage.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:24:58 +01:00
Nikolay Sivov 9d404ddac6 comctl32/propsheet: Double size of a template buffer passed to PSCB_PRECREATE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-13 14:51:17 +01:00
Nikolay Sivov bb1d68ede0 comctl32/trackbar: Fix TBM_SETRANGEMAX handling when new limit is less than current min boundary.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-12 16:52:23 +01:00
Nikolay Sivov 26067cc0b9 comctl32/toolbar: Protect from NULL pointer access in TB_GETBUTTONINFOW handler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-11 16:04:23 +01:00
Nikolay Sivov dabad0e98f comctl32/tests: Call appropriate default procedure for parent window (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-10 19:19:14 +01:00
Nikolay Sivov a6aabe0159 comctl32/trackbar: Update thumb unconditionally on TBM_SETTICFREQ.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-13 13:13:42 +01:00
Nikolay Sivov 458ddd59b2 comctl32/tests: Trackbar test to show that thumb is updated on TBM_SETTICFREQ.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-13 13:13:39 +01:00
Nikolay Sivov 0def005b77 comctl32/tests: Increase fixed buffer size to make test string fit.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 00:05:33 +01: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
Sebastian Lackner 88bf73abb2 comctl32/tests: Fix incorrect usage of broken() function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 23:14:59 +09:00
Huw Davies 31963d7da4 comctl32/tests: Restore the cursor position after moving it.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:00 +09:00
Huw Davies 53b703d468 comctl32/tests: Move the cursor off the parent window to avoid mouse messages.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:00 +09:00
Michael Stefaniuc 6531b9b8af comctl32/tests: Use todo_wine_if().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:23:03 +09: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
Michael Stefaniuc ce17196995 comctl32/tests: Make use of todo_wine_if().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 16:50:49 -05:00
Nikolay Sivov 9ef65cf3d6 comctl32/tests: Test that callback mask is stored as is, check more message results.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 16:18:05 -05:00
Nikolay Sivov e0361765ab comctl32/listview: Remove redundant check in LVM_DELETECOLUMN handler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-01 05:30:18 -05:00
Nikolay Sivov 5faab43d34 comctl32/listview: Filter invalid indices when setting selection mark.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-01 05:30:17 -05:00
Michael Stefaniuc b9f552cbec comctl32/tests: Use SetRectEmpty() instead of SetRect().
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-07-31 16:22:37 +09:00
Michael Stefaniuc 61a6f98a9e comctl32/tests: Avoid using memset() on 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-07-31 16:22:34 +09:00
Nikolay Sivov 9618aae324 comctl32/tooltips: Fix TTM_GETMARGIN/TTM_SETMARGIN handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-22 21:30:45 +09:00
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
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
Andrew Eikum 75fbef2ded comctl32: Return the number of visible months for MCM_GETMONTHDELTA. 2013-08-30 11:12:54 +02:00
Francois Gouget 47b56f238d comctl32/tests: Use ok(0) to report unexpected function calls instead of assert(0). 2013-07-03 21:20:03 +02:00
Nikolay Sivov f8ce7ed978 comctl32/tests: Remove useless message tracing. 2013-06-06 10:43:03 +02:00
Nikolay Sivov 65a47e3df6 comctl32: Return previously set colors for PBM_SETBKCOLOR and PBM_SETBARCOLOR. 2013-05-27 19:18:01 +02:00
Nikolay Sivov 2d5abbd1d7 comctl32: Forward WM_MEASUREITEM to Rebar notification window. 2013-05-20 12:08:00 +02:00
Nikolay Sivov 61a6a4f476 comctl32: Export TaskDialogIndirect by ordinal and name. 2013-04-12 16:26:17 +02:00
Nikolay Sivov 6ee869da6d comctl32: Initialize id field for message data (Coverity). 2013-04-01 12:32:36 +02:00
Daniel Jelinski cb8ce94e4d comctl32/imagelist: Use proper color format for merged image lists. 2013-03-08 19:35:21 +01:00
Daniel Jelinski 704412b459 comctl32/listview: Fix custom draw prepaint handling. 2013-03-04 11:44:37 +01:00
André Hentschel 2c966be6c3 comctl32/tests: Mark win8 behaviour as broken. 2013-02-21 08:32:39 +01:00
Daniel Jelinski 77874d7863 comctl32/listview: Fix LVM_SETICONSPACING on 64bit machines. 2013-02-11 12:31:55 +01:00
Daniel Jelinski f9c3a612af comctl32/listview: Do not touch icon spacing if set explicitly. 2013-02-07 12:02:27 +01:00
Daniel Jelinski aeefa82185 comctl32/listview: Always use large icon size when calculating icon spacing. 2013-02-06 10:16:17 +01:00
Daniel Jelinski cb77ab1a00 comctl32/listview: Correct icon spacing calculation when set to 0 or -1. 2013-02-06 10:16:00 +01:00
Nikolay Sivov 8418ae5334 comctl32: Test WM_GETDLGCODE return value for TreeView. 2013-01-30 12:43:05 +01:00
Nikolay Sivov dbd997c3c9 comctl32/listview: Update focus index when new item data is already there. 2013-01-14 11:02:12 +01:00
Nikolay Sivov b68e95abd8 comctl32/listview: Add a special case for deselect all attempt when nothing is selected. 2013-01-11 11:58:51 +01:00
Nikolay Sivov 7773d6b095 comctl32/listview: Always send LVN_ITEMCHANGING notification even if nothing changed. 2013-01-11 11:58:46 +01:00
Marcus Meissner 1fe4af293c comctl32: Initialize SYSTEMTIME structs (Coverity). 2013-01-10 19:18:45 +01:00
Nikolay Sivov 7bb36372c8 comctl32/listview: Use LVM_SETITEMSTATE directly in tests. 2013-01-10 16:06:03 +01:00
Nikolay Sivov 6227bbcff7 comctl32/listview: Fix focus index update when item is deleted. 2013-01-10 16:05:56 +01:00
Marcus Meissner d8d83d2eb3 comctl32: Avoid leak of hShell32 (Coverity). 2013-01-09 12:54:39 +01:00
Daniel Jelinski 1964145713 comctl32/tests: Add tests for listview header image list. 2013-01-07 13:38:15 +01:00
Daniel Jelinski 67eb9744d9 comctl32/listview: Fix calculating item height. 2013-01-07 13:38:11 +01:00
Nikolay Sivov 67c57b216c comctl32/listview: Improve LVM_GETSUBITEMRECT implementation for out-of-bounds item indices. 2013-01-03 16:44:07 +01:00
Ričardas Barkauskas 379d492b12 comctl32: Use index value if property sheet page isn't found. 2012-12-26 18:23:04 +01:00
Michael Stefaniuc ab55448069 comctl32/tests: Get rid of a temp buffer. 2012-12-12 11:58:43 +01:00
Daniel Jelinski 06a0a01e18 comctl32/listview: Forward more header notifications to parent window. 2012-12-11 20:45:44 +01:00
Daniel Jelinski 12c065111b comctl32/listview: Convert header notifications to ANSI in place. 2012-12-11 20:45:44 +01:00
Daniel Jelinski 70df1d58cb comctl32/tests: Add listview header notification tests. 2012-12-11 20:45:43 +01:00
Nikolay Sivov 3938bfd30d comctl32: Initialize id field for message tests. 2012-12-10 11:25:29 +01:00
Alexandre Julliard c3f0abfa40 comctl32/tests: Add some initial pager tests. 2012-11-20 17:23:39 +01:00
Alexandre Julliard c4bae8fab0 comctl32/tests: Don't delete the global font object. 2012-10-18 22:28:37 +02: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
Huw Davies 3cfc2ab772 comctl32: Forward the focus to the edit control if it exists. 2012-09-25 18:11:21 +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 9f56598fb9 comctl32/tests: Use the proper type for function pointers. 2012-09-13 13:56:34 +02:00
Michael Stefaniuc 5b19a55910 comctl32/tests: Remove commented out struct declaration. 2012-09-13 13:56:23 +02:00
Piotr Caban 21898b2fba comctl32: Remove property sheet page that can't be initialized. 2012-08-29 20:13:48 +02:00
Nikolay Sivov 21897a9689 comctl32: Call interface methods properly. 2012-08-20 10:58:45 +02:00
Sergey Guralnik d54979e329 comctl32: Correct values passed in MCN_SELECT/MCN_SELCHANGE notifications. 2012-08-17 15:16:12 +02:00
Sergey Guralnik c7abff0a27 comctl32/tests: Add test for MCN_SELECT/MCN_SELCHANGE notifications. 2012-08-17 15:16:08 +02:00
Michael Stefaniuc 175eaf1074 comctl32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:29:01 +02:00
Nikolay Sivov 6560d88151 comctl32/listview: Properly update selection mark on item state change. 2012-06-11 12:19:07 +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
Michael Stefaniuc fe947be7e7 comctl32/tests: Remove stray backslashes at end of lines. 2012-06-07 10:33:17 +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 21727c416f comctl32: When created with TCS_VERTICAL, TCS_MULTILINE is set automatically. 2012-05-17 10:18:39 +02:00
Piotr Caban 8276a3375b comctl32: LVM_SETITEMTEXT is not supported on LVS_OWNERDATA. 2012-05-10 18:41:55 +02:00
Francois Gouget a0bb28f7d9 comctl32/tests: Add a trailing '\n' to an ok() call. 2012-04-25 17:20:42 +02:00
Akihiro Sagawa 8cedea0d60 comctl32: Truncate the info tip text when using ANSI version messages. 2012-04-16 11:50:00 +02:00
Akihiro Sagawa 28f26c9783 comctl32/tests: Add tests for long info tip texts. 2012-04-16 11:49:37 +02:00
Akihiro Sagawa b48f394e4f comctl32: Add support for retrieving lpszText in TOOLINFO structure. 2012-04-12 21:27:45 +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 b326426fec comctl32: Use single notification message for setting all item state with LVM_SETITEMSTATE (LVS_OWNERDATA case only). 2012-03-26 18:15:51 +02:00
Owen Rudge c8c3c4be91 comctl32/datetime: Check dates are within range in SetSystemTime. 2012-03-12 10:45:47 +01:00
Owen Rudge 300140e2cb comctl32/tests: Add test for DTM_SETSYSTEMTIME outside range limit. 2012-03-12 10:45:21 +01:00
Nikolay Sivov 3d4a4dae70 comctl32: Update thumb position on WM_MOUSEMOVE instead of deferring it. 2012-03-12 10:11:28 +01:00
Nikolay Sivov 0cae0842b9 comctl32/tests: Fix test failures running on February 29. 2012-02-29 10:32:09 +01:00
Francois Gouget 07d9d04de8 comctl32/tests: Make cbt_hook_proc() static. 2012-02-20 11:47:55 +01:00
Frédéric Delanoy 3c13f991e4 comctl32/tests: Use initialized window handle when rebuilding toolbar (Coverity). 2012-02-20 11:38:35 +01:00
Nikolay Sivov 31b44fb6e8 comctl32: Fix TB_SETEXTENDEDSTYLE to use mask passed in wParam. 2012-02-16 11:48:51 +01:00
Nikolay Sivov e508eae7d7 comctl32: Update ticks on TBM_SETRANGE. 2012-02-13 13:09:45 +01:00
Nikolay Sivov 11de98be34 comctl32: Update ticks on TBM_SETRANGEMIN. 2012-02-13 13:09:45 +01:00
Nikolay Sivov abde0c21e3 comctl32: Update ticks on TBM_SETRANGEMAX. 2012-02-13 13:09:45 +01:00
Nikolay Sivov e630e4997d comctl32: A test for auto-set TBSTYLE_TRANSPARENT style. 2012-02-09 09:39:58 -06:00
Michael Stefaniuc 482a5746ee comctl32: Remove an obsolete resource attribute. 2012-02-07 09:32:30 -06:00
André Hentschel 91a63ad08c comctl32/tests: Add some more thumb length tests. 2012-02-06 10:27:22 -06:00
Nikolay Sivov 1c1b1c0073 comctl32: More tests for Toolbar window style handling. 2012-02-01 16:42:45 +01:00
Nikolay Sivov 91fbef88bf comctl32: Never release state image list. 2012-01-30 12:04:58 +01:00
André Hentschel 80d9017e03 comctl32: Test and fix WM_GETTEXTLENGTH for statusbars. 2012-01-23 16:06:52 +01:00
Alexandre Julliard ff71cc2ca4 comctl32: Fix management of imagelist growth amount. 2012-01-11 17:47:31 +01:00
Nikolay Sivov 9188b58e4c comctl32: Store style bits provided with WM_CREATE. 2012-01-09 12:22:39 +01:00
Nikolay Sivov 54b6c76720 comctl32: Fix TB_SETSTYLE behaviour and return value. 2012-01-09 12:22:31 +01:00
Nikolay Sivov 73354ef9d2 comctl32: Fix parameter validation for CreateMRUListLazyA(). 2011-12-20 10:10:32 +01:00
Alexandre Julliard 9c9e8dd141 comctl32/tests: Fix a test failure on older Windows. 2011-12-16 19:47:27 +01:00
Alexandre Julliard 65b7eb2635 comctl32/tests: Add some more tests for ImageList_Write. 2011-12-16 17:40:27 +01:00
Nikolay Sivov 485fde811d comctl32/listview: Create header when LVS_EX_FULLROWSELECT is requested. 2011-12-09 21:15:26 +01:00
Nikolay Sivov dfbe664548 comctl32/listview: Create header when LVS_EX_GRIDLINES style is set. 2011-12-05 12:23:24 +01:00
Nikolay Sivov 482d80cf16 comctl32/tests: Make state data accessible to caller (Valgrind). 2011-10-18 15:12:47 +02:00
Francois Gouget 07cfe3ea51 comctl32/tests: Make impl_from_IStream() static. 2011-10-13 19:57:19 +02:00
Marko Nikolic 154d088eb9 comctl32/tests: Removed sign comparison warning in datetime tests. 2011-10-06 12:27:39 -05:00
Marko Nikolic b76e2daec2 comctl32/tests: Removed sign comparison warning in dpa tests. 2011-10-06 12:26:51 -05: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 ce6819d93d comctl32/tests: Fix a test that depends on control size. 2011-10-03 11:26:55 -05:00
Nikolay Sivov 40c783fcc1 comctl32/monthcal: After notification safely free buffer allocated on heap. 2011-10-03 09:45:33 -05:00
Michael Stefaniuc d8213b468a comctl32/tests: Don't accept Win95 behavior. 2011-09-27 16:24:26 +02:00
Michael Stefaniuc af27b03967 comctl32/tests: Standardize COM in imagelist.c. 2011-09-27 16:24:26 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Francois Gouget e6368a040c comctl32/tests: Add basic tests for the SysLink control. 2011-09-26 22:42:02 +02:00
Nikolay Sivov d3758e02b8 comctl32/monthcal: Properly adjust day of week in MCM_SETCURSEL. 2011-09-23 14:19:25 +02:00
Nikolay Sivov d6349844e6 comctl32/monthcal: Correct MCM_SETTODAY handler return value. 2011-09-23 14:19:18 +02:00
Nikolay Sivov efbb419621 comctl32/monthcal: Fix some day state problems. 2011-09-23 14:19:13 +02:00
Nikolay Sivov b11208e5f8 comctl32/monthcal: Fix MCM_GETMONTHRANGE with regard to multiple calendars and parameter handling. 2011-09-23 14:19:07 +02:00
Nikolay Sivov 23dfef0d9e comctl32/monthcal: Enable multiple calendars support. 2011-09-22 19:51:50 +02:00
Nikolay Sivov 0d3b04d033 comctl32/monthcal: Implement MCM_GETCALENDARCOUNT. 2011-09-20 16:21:40 +02:00
Francois Gouget 01378c5c8e comctl32: Don't crash when getting a bad image list handle. 2011-09-19 18:32:51 +02:00
Francois Gouget 5464d5423a comctl32/tests: Use the PROPSHEETHEADERA_V1_SIZE macros for compatibility with old comctl32 versions. 2011-09-09 16:10:31 +02:00