user32: Attempt to set scroll info in SetScrollPos even if SCROLL_GetInternalInfo...
commit9d4ce95de50e019c3522ec95f6525d85230ea699
authorJacek Caban <jacek@codeweavers.com>
Wed, 21 Nov 2018 15:27:01 +0000 (21 16:27 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Nov 2018 16:07:01 +0000 (21 17:07 +0100)
tree03d439e96feffee420bafcdc8e3682165f8d820f
parentdb4fc7a1f5696bd60285a6f337fb22dad0bca297
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>
dlls/user32/scroll.c
dlls/user32/tests/scroll.c