diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 5c945f5b50b..b0eb9acabee 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -5852,7 +5852,8 @@ static LRESULT LISTVIEW_VScroll(HWND hwnd, INT nScrollCode, SHORT nCurrentPos, } break; - case SB_THUMBPOSITION: + case SB_THUMBTRACK: + scrollInfo.nPos = nCurrentPos; break; } @@ -5961,7 +5962,8 @@ static LRESULT LISTVIEW_HScroll(HWND hwnd, INT nScrollCode, SHORT nCurrentPos, } break; - case SB_THUMBPOSITION: + case SB_THUMBTRACK: + scrollInfo.nPos = nCurrentPos; break; }