richedit: Scrollinfo stored as 16-bit values externally.
commit0deb3d04ede7ff1316b86c319ac0b8a6112e0a02
authorDylan Smith <dylan.ah.smith@gmail.com>
Wed, 22 Jul 2009 01:06:00 +0000 (21 21:06 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Jul 2009 09:08:33 +0000 (22 11:08 +0200)
tree7083ab6ce5bb1f9e03cd7caccbe73e96e7c0fdea
parente5f4c802dcf94ef8b608ee683354bd7d6ae4834c
richedit: Scrollinfo stored as 16-bit values externally.

The application Blitzin2 was sending WM_VSCROLL messages to the
richedit control directly, when normally this message is supposed to
be a notification sent after the scrollinfo is set.  Native richedit
controls always use the 16-bit value passed to this message to set the
scroll position for SB_THUMBPOSITION, rather than trying to find a
32-bit value through GetScrollInfo like I had previously done.
dlls/riched20/editor.c
dlls/riched20/paint.c