user32: Call SCROLL_DrawScrollBar() to draw moving thumb in SCROLL_HandleScrollEvent().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
14f03e84d4
commit
c3d8b39e9e
|
@ -863,8 +863,8 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
|
|||
SCROLL_TrackingPos );
|
||||
if (!SCROLL_MovingThumb)
|
||||
{
|
||||
SCROLL_DrawMovingThumb(hdc, &rect, vertical, arrowSize, thumbSize);
|
||||
SCROLL_MovingThumb = TRUE;
|
||||
SCROLL_DrawScrollBar( hwnd, hdc, nBar, hittest, FALSE, TRUE );
|
||||
}
|
||||
}
|
||||
else if (msg == WM_LBUTTONUP)
|
||||
|
@ -893,8 +893,8 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
|
|||
SendMessageW( hwndOwner, vertical ? WM_VSCROLL : WM_HSCROLL,
|
||||
MAKEWPARAM( SB_THUMBTRACK, SCROLL_TrackingVal),
|
||||
(LPARAM)hwndCtl );
|
||||
SCROLL_DrawMovingThumb( hdc, &rect, vertical, arrowSize, thumbSize );
|
||||
SCROLL_MovingThumb = TRUE;
|
||||
SCROLL_DrawScrollBar( hwnd, hdc, nBar, hittest, FALSE, TRUE );
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue