comctl32: Ensure that trackbar respond only to changes in WM_CAPTURECHANGED handler.

Signed-off-by: Christopher Thielen <cthielen@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Christopher Thielen 2016-01-31 20:26:47 -08:00 committed by Alexandre Julliard
parent ff063d9e25
commit 0bea2f73d3

View file

@ -1979,6 +1979,7 @@ TRACKBAR_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case WM_CAPTURECHANGED:
if (hwnd == (HWND)lParam) return 0;
return TRACKBAR_CaptureChanged (infoPtr);
case WM_CREATE: