Commit Graph

42 Commits

Author SHA1 Message Date
Michael Stefaniuc 04cb8d51a3 comctl32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 21:18:42 +02:00
Roman Pišl 4803b7abc9 comctl32/tooltips: Set window size before TTN_SHOW and preserve it after.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 17:24:37 +01:00
Nikolay Sivov 7d9cf7f4b5 comctl32/tests: Add a test for TTN_SHOW order.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:39 +01:00
Nikolay Sivov c586b759a9 comctl32/tooltips: Fix structure size check for TTM_ADDTOOLW.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:37 +01:00
Nikolay Sivov 73b70aff6c comctl32/tests: Run some tooltips tests on version 6 too.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:35 +01:00
Nikolay Sivov 3845cc10e8 comctl32/tests: Link to comctl32.dll dynamically.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:00 +01: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
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 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
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
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
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
Aric Stewart aba3b131bc comctl32: TTM_SETTOOLINFO does not change subclassing flags. 2015-04-27 19:33:28 +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 9b2ea63311 comctl32/tests: Initialize text buffer pointer (Valgrind). 2014-04-25 10:17:36 +02:00
Nikolay Sivov 91672c8453 comctl32/tests: Don't assert() on test failures. 2014-02-13 17:52:13 +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
Alexandre Julliard 4242c437a2 comctl32/tests: Fix a test that fails on Windows. 2013-11-11 20:56:19 +01:00
Saulius Krasuckas 6d773fd979 comctl32/tests: Make tooltips.c compile with -D__WINESRC__. 2013-11-08 12:45:34 +01: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
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
Marko Nikolic 2dd0d8ab2a comctl32/tests: Removed sign comparison warning in tooltip tests. 2011-06-01 16:09:11 +02:00
Paul Vriens 41099b0ff7 comctl32/tests: Fix some test failures on older comctl32. 2009-10-20 14:00:36 +02:00
Nikolay Sivov f394bed597 comctl32/tooltips: Test the way structure size field is validated. 2009-10-15 14:10:59 +02:00
Nikolay Sivov 98a7d8cf9d comctl32/tooltips: Fix an obviously wrong structure size check. 2009-10-15 14:10:32 +02:00
Alexandre Julliard 6369d7a08b comctl32/tests: Fix tooltips test failures on older Windows versions. 2009-08-26 13:09:11 +02:00
Nikolay Sivov 7d32cfef27 comctl32/tooltips: Fix callback tip text retrieval. 2009-05-28 12:42:18 +02:00
Alexandre Julliard 74271fc4cf comctl32/tests: Disable a test that crashes on NT4. 2009-03-06 12:38:34 +01:00
Alexandre Julliard acdcb19cbb comctl32/tests: Avoid handle casts in traces. 2008-12-04 12:12:29 +01:00
Michael Stefaniuc c46a88a3c9 comctl32: Remove superfluous casts that crept in as well as some older ones. 2008-11-07 11:00:16 +01:00
Michael Stefaniuc 06c4de0461 comctl32/tests: Use MAKELPARAM instead of "(LPARAM) MAKELONG". 2008-11-04 11:26:01 +01:00
Francois Gouget 1177bbaa9e comctl32/tests: Don't crash if adding the tooltip failed. 2008-09-29 17:24:55 -05:00
Paul Vriens 2d18e5aac4 comctl32/tests: Don't assert on not implemented function. 2008-08-27 13:21:21 +02:00
Lei Zhang fc6553973f comctl32: Add a test for TTM_GETTEXT. 2008-08-18 17:15:56 +02:00
Jason Edmeades f54570fdbd comctl32: Add basic custom draw support for tooltips. 2008-04-03 11:39:52 +02:00
Michael Ploujnikov a348e0936a comctl32/tests: Win64 printf format warning fixes. 2006-10-13 15:46:06 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov f15abf08ac comctl32: Add a test for the initial tooltip window style settings,
make it pass under Wine.
2005-12-19 17:43:10 +01:00