From 9f295f127e04147568f88bc31d3cf0a047d6f7e0 Mon Sep 17 00:00:00 2001 From: Pierre Mageau Date: Sun, 24 Oct 1999 17:24:27 +0000 Subject: [PATCH] Added the functionality of the thumb track. --- dlls/comctl32/listview.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; }