At 11:00 PM 1/14/01 +0800, you (Dmitry Timoshkov) wrote:
<snip>
>+++ wine/controls/scroll.c     Sun Jan 14 22:16:58 2001
>@@ -810,7 +810,6 @@
>     if (!wndPtr || !infoPtr ||
>         ((nBar == SB_VERT) && !(wndPtr->dwStyle & WS_VSCROLL)) ||
>         ((nBar == SB_HORZ) && !(wndPtr->dwStyle & WS_HSCROLL))) goto END;
>-    if (!WIN_IsWindowDrawable( wndPtr, FALSE )) goto END;
> 
>     vertical = SCROLL_GetScrollBarRect( hwnd, nBar, &rect,
>                                         &arrowSize, &thumbSize, &thumbPos );

While your patch makes the scrolling behaviour of the edit control better,
are you sure you could not get the same effect without this change ?

For an app I use to test Wine,it makes the displaying of a list go from (roughly) 3 
seconds
to about 23 seconds (Nt4 is doing the same job in  less than 2 seconds IIRC, so it's 
not as
if Wine was running too fast already :-) (FYI it's Eudora Light 1.5, but I see a 
similar
hit with Winhelp for the topic list of the win32.hlp file)

It's possible that Windows is getting similar or better optimization by other means,
of course.

Gerard


Reply via email to