[PATCH] user32: Attempt to set scroll info in SetScrollPos even if SCROLL_GetInternalInfo fails.

Jacek Caban jacek at codeweavers.com
Wed Nov 21 09:27:01 CST 2018


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 at codeweavers.com>
---
  dlls/user32/scroll.c       |  5 ++---
  dlls/user32/tests/scroll.c | 27 +++++++++++++++++++++++++++
  2 files changed, 29 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Attempt-to-set-scroll-info-in-SetScrollPos-eve.diff
Type: text/x-patch
Size: 3063 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20181121/0fc0144f/attachment.bin>


More information about the wine-devel mailing list