When you hold the left mouse button inside the scrollbar, then move

the mouse off so it stops scrolling, and return the mouse, it should
continue scrolling.
This commit is contained in:
Bobby Bingham 2001-09-17 19:01:08 +00:00 committed by Alexandre Julliard
parent 1a8b33997f
commit 49c7aff248
1 changed files with 11 additions and 11 deletions

View File

@ -994,11 +994,11 @@ void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
{
SendMessageA( hwndOwner, vertical ? WM_VSCROLL : WM_HSCROLL,
SB_PAGEUP, hwndCtl );
}
SetSystemTimer( hwnd, SCROLL_TIMER, (msg == WM_LBUTTONDOWN) ?
SCROLL_FIRST_DELAY : SCROLL_REPEAT_DELAY,
(TIMERPROC)0 );
}
}
else KillSystemTimer( hwnd, SCROLL_TIMER );
break;
@ -1060,11 +1060,11 @@ void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
{
SendMessageA( hwndOwner, vertical ? WM_VSCROLL : WM_HSCROLL,
SB_PAGEDOWN, hwndCtl );
}
SetSystemTimer( hwnd, SCROLL_TIMER, (msg == WM_LBUTTONDOWN) ?
SCROLL_FIRST_DELAY : SCROLL_REPEAT_DELAY,
(TIMERPROC)0 );
}
}
else KillSystemTimer( hwnd, SCROLL_TIMER );
break;