Commit Graph

41 Commits

Author SHA1 Message Date
Piotr Caban 1bd27e50d2 comctl32: Fix non printable characters handling in SB_SETTEXT.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-21 15:17:19 +02:00
Waritnan Sookbuntherng 0f12fa1e43 comctl32/status: Checking size grip bounds in x-axis only.
Signed-off-by: Waritnan Sookbuntherng <lion328@hotmail.co.th>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-10 14:59:46 +01:00
Waritnan Sookbuntherng 1bb95af322 comctl32/status: Hide size grip when the parent window is maximized.
Signed-off-by: Waritnan Sookbuntherng <lion328@hotmail.co.th>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-10 14:59:45 +01:00
Waritnan Sookbuntherng d8428406c6 comctl32/tests: Test status bar size grip behavior and bounds.
Signed-off-by: Waritnan Sookbuntherng <lion328@hotmail.co.th>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-10 14:59:42 +01:00
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
Nikolay Sivov 69d9052206 comctl32/tests: Use existing macros for control class names.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 09:04:47 +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
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
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
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 91672c8453 comctl32/tests: Don't assert() on test failures. 2014-02-13 17:52:13 +01:00
Saulius Krasuckas 529484603b comctl32/tests: Make status.c compile with -D__WINESRC__. 2013-11-08 12:44:55 +01:00
André Hentschel 2c966be6c3 comctl32/tests: Mark win8 behaviour as broken. 2013-02-21 08:32:39 +01:00
André Hentschel 80d9017e03 comctl32: Test and fix WM_GETTEXTLENGTH for statusbars. 2012-01-23 16:06:52 +01:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Marko Nikolic 6ed2208e72 comctl32/tests: Removed sign comparison warning in status tests. 2011-06-02 16:22:44 +02:00
Peter Urbanec 93b5bcc6eb comctl32: Add a check for setting number of parts in the statusbar to zero. 2011-03-01 13:21:58 +01:00
Peter Urbanec 193d13c421 comctl32/tests: Enable statusbar tooltip tests. 2011-02-28 15:50:24 +01:00
Austin English 223c431d90 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:50 +01:00
Francois Gouget 2659ac14f8 comctl32/tests: fix an ok() call's trailing '\n'. 2010-03-22 10:48:30 +01:00
Peter Dons Tychsen a3528a7642 comctl32: Handle WM_NOTIFY correctly when the parent returns zero. 2010-01-22 13:09:01 +01:00
Alexandre Julliard 5a0deb25e1 comctl32/tests: Fix status test failures on older Windows versions. 2009-08-29 16:48:56 +02:00
Juan Lang 390a248e06 comctl32: Return the number of characters copied in WM_GETTEXT even if the buffer is too small. 2009-08-27 11:01:09 +02:00
Nikolay Sivov 74e9b904b9 comctl32: Replace nonprintable characters with spaces on SB_SETTEXT. 2009-03-06 16:36:57 +01:00
Rein Klazes da257e3301 comctl32: Fix for owner draw statusbar.
Ownerdraw status bar should update on receiveing a SB_SETTEXT message,
even if the 'text' parameter has not changed. Fix with conformance
test.
2009-02-16 16:01:23 +01:00
Detlef Riekenberg bea3bff2bb comctl32/tests: The status control use a different formula in XP and up for the height. 2009-02-13 13:00:34 +01:00
Detlef Riekenberg f78f4d89b7 comctl32/tests: Make the test dpi and theme aware by using SM_CYSIZE. 2009-02-04 14:27:25 +01:00
Alasdair Sinclair 4f0e6885d0 comctl32/tests: Fix missing void in empty parameter list. 2009-01-26 15:07:26 +01:00
Michael Stefaniuc 62e17fa8c4 comctl32: Do not cast zero. 2008-11-04 11:26:22 +01:00
Michael Stefaniuc d4b8948ce3 comctl32: Do not cast NULL. 2008-11-03 13:41:58 +01:00
James Hawkins 56260ec782 comctl32: Add a missing newline. 2008-09-24 13:11:55 +02:00
James Hawkins 921f67a607 comctl32: Fix a failing test in win95. 2008-09-24 13:11:51 +02:00
James Hawkins 72638e0ea4 comctl32: Fix the remaining broken tests in win95. 2008-09-15 11:29:39 +02:00
James Hawkins 3b5c2cba44 comctl32: Fix several failing tests in win95. 2008-09-15 11:29:33 +02:00
James Hawkins d54963e512 comctl32: Allow a little slop in the status bar metric tests. 2008-09-08 12:47:22 +02:00
Mikołaj Zalewski 72d4318c8c comctl32: statusbar: Test and fix SB_SETMINHEIGHT.
The minimal height should be saved so that it survives WM_SIZE or WM_SETFONT.
2008-07-23 11:21:18 +02:00
Mikołaj Zalewski f240b8f49e comctl32: statusbar: Change the height expression to one that seems to be the same as in Windows. 2008-07-22 13:24:43 +02:00
Mikołaj Zalewski 9aee00e8fa comctl32: statusbar: WM_SETFONT should change the bar height. 2008-07-17 12:24:52 +02:00
Mikołaj Zalewski 1e43f207cd comctl32: statusbar: WM_CREATE should not resize the window - it should happen in WM_SIZE. 2008-07-16 19:56:24 +02:00
Alex Arazi 489db09da8 comctl32: More status bar tests. 2007-02-26 17:59:40 +01:00
Lei Zhang 3a463f039b comctl32: Add initial tests for the status bar control. 2007-01-03 11:25:31 +01:00