Francois Gouget <[EMAIL PROTECTED]> writes: > Index: controls/scroll.c > =================================================================== > RCS file: /home/wine/wine/controls/scroll.c,v > retrieving revision 1.27 > diff -u -r1.27 scroll.c > --- controls/scroll.c 2000/10/25 21:26:27 1.27 > +++ controls/scroll.c 2000/10/30 06:00:58 > @@ -816,7 +816,8 @@ > (SCROLL_TrackingBar == nBar)) > SCROLL_DrawMovingThumb( hdc, &rect, vertical, arrowSize, thumbSize ); > > - if(hwnd==GetFocus()) /* if scroll bar has focus, reposition the caret*/ > + /* if scroll bar has focus, reposition the caret*/ > + if(hwnd==GetFocus() && WIDGETS_IsControl(wndPtr,BIC32_SCROLL)) This should probably test for SB_CTL instead. Using WIDGETS_IsControl is always the wrong thing to do (in fact this function should be taken out and shot). -- Alexandre Julliard [EMAIL PROTECTED]
