Nikolay Sivov
92d336263c
user32: Improve window state handling in SetScrollInfo().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42038
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 14:23:42 +01:00
Nikolay Sivov
04643b789c
user32/tests: Add some more SetScrollInfo() tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-08 21:12:16 +01:00
Jacek Caban
9d4ce95de5
user32: Attempt to set scroll info in SetScrollPos even if SCROLL_GetInternalInfo fails.
...
SetScrollPos may be called on non-scroll window and we should send
SBM_SETSCROLLINFO. This fixes scrollbars in Visio.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:07:01 +01:00
Jacek Caban
8c8701befb
user32: Allow scrollbar control to store scroll info in subclassed window.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46004
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45966
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 18:31:11 +01:00
Jacek Caban
d23be055be
user32/tests: Add scrollbar subclassing tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 19:15:34 +01:00
Jacek Caban
b8ef42c9fd
user32: Make sure that passed window handle is scroll control before accessing wExtra in SCROLL_GetInternalInfo.
...
Fixes memory corruption in Office 2016.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 18:33:12 +02:00
Michael Stefaniuc
1694ab087a
user32/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-28 18:27:20 +02:00
Michael Stefaniuc
a1f0d09ab3
user32/tests: Use wine_dbgstr_rect() to print RECTs.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:15:52 +09:00
Francois Gouget
6fe747bbbc
user32/tests: Fix a spelling error in a scroll comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 15:32:51 +09:00
Nikolay Sivov
9d91fce444
user32: For EnableScrollBar() always go through EnableWindow() in SB_CTL case.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 21:49:54 +09:00
Nikolay Sivov
119d97e8d7
user32/tests: Some tests for SetScrollInfo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 13:25:31 +09:00
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Nikolay Sivov
f7468386a7
user32/tests: Use separate test window for each scrollbar test.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:13:58 +09:00
Dmitry Timoshkov
4d5c668447
user32/tests: Fix scroll tests compilation with __WINESRC__ defined.
2013-10-24 10:44:42 +02:00
Sergey Guralnik
1cd5e69478
user32: Init standard scrollbars during WM_NCCREATE.
2013-01-24 17:31:32 +01:00
Sergey Guralnik
77337d75f2
user32/tests: Test standard scrollbar initialization.
2013-01-22 20:01:59 +01:00
Francois Gouget
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02:00
Alexandre Julliard
03820a527b
user32: Fix some printf format warnings.
2012-01-17 15:02:51 +01:00
Michael Stefaniuc
1435b5ecd7
include: Make "long" numeric constants LP64/LLP64 proof (winuser.h).
2011-10-31 16:46:22 +01:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Sébastien Ramage
e7165b3921
user32: End scrollbar tracking if the mouse capture is lost.
2010-03-25 10:55:51 +01:00
Alexandre Julliard
c888a2eb22
user32/tests: Fix broken check of the ok() macro return value.
...
Spotted by Yann Droneaud.
2010-02-24 16:04:11 +01:00
Paul Vriens
334efcde13
user32/tests: Fix test failures on Win9x/WinME.
2009-05-13 17:11:22 +02:00
Nicolas Le Cam
ffba5470c0
user32/tests: Fix scroll tests when theming is disabled.
2009-05-05 11:51:00 +02:00
Rein Klazes
1b1e0027db
user32: Combine horizontal and vertical window scroll bar info in a single structure.
2009-05-04 14:57:03 +02:00
Rein Klazes
a240254d36
user32/tests: Show that vertical and horizontal window scroll bar info is not created independently.
2009-04-30 13:57:12 +02:00
Nikolay Sivov
032356ec37
user32: Disable scroll bar control window when both buttons disabled.
2009-03-05 12:48:05 +01:00
Paul Vriens
63f15d4400
user32/tests: Run tests on win95 again.
2008-10-07 12:12:04 +02:00
Dylan Smith
936191887e
user32: Converted rcScrollBar to screen coordinates.
2008-10-06 13:54:44 +02:00
Anatoly Lyutin
a871830dd3
user32: Fix return value in ShowScrollBar according with test.
2008-02-25 13:26:52 +01:00
Anatoly Lyutin
b6241e4ad8
user32: Added some tests for scrollbar.
2008-02-25 13:26:12 +01:00