Postpone resetting SCROLL_TrackingWin untill all notifications are sent

Dmitry Timoshkov dmitry at codeweavers.com
Thu Jan 26 16:24:01 CST 2006


Hello,

the app I'm working on calls GetScrollInfo on each WM_VSCROLL
SB_THUMBPOSITION notification and only then updates scroll position.
The problem is that current code resets SCROLL_TrackingWin before
sending SB_THUMBPOSITION notification, but SCROLL_GetScrollInfo checks
SCROLL_TrackingWin before it sets nTrackPos, therefore the app sets
scroll position to 0.

I've written a test app which shows that on SB_THUMBPOSITION
notification GetScrollInfo under Windows returns nTrackPos set to
current tracked value, under Wine currently it returns 0.

Changelog:
    Postpone resetting SCROLL_TrackingWin until all notifications
    are sent.

-- 
Dmitry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scroll.diff
Type: text/x-patch
Size: 2257 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060126/99d978e9/scroll.diff


More information about the wine-patches mailing list