richedit: Use 32-bit rather than 16-bit trackbar value for scrolling.

Dylan Smith dylan.ah.smith at gmail.com
Mon Jan 5 23:34:28 CST 2009


The WM_VSCROLL message stores a 16-bit trackbar position value in the
wParam for a SB_THUMBTRACK or SB_THUMBPOSITION scroll request, however a
32-bit value for the trackbar position can be obtained using
GetScrollInfo to avoid truncating this value when working with a large
amount of text.
---
 dlls/riched20/editor.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Use-32-bit-rather-than-16-bit-trackbar.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20090106/05174ffa/attachment.txt 


More information about the wine-patches mailing list