[PATCH] user32: end scrollbar tracking if the mouse capture is lost

Dmitry Timoshkov dmitry at codeweavers.com
Tue Mar 23 08:18:42 CDT 2010


Sébastien Ramage <sebastien.ramage at gmail.com> wrote:

> -    } while (msg.message != WM_LBUTTONUP);
> +    } while (msg.message != WM_LBUTTONUP&&  GetCapture() == hwnd);

Please fix the spacing above.

> +    SendMessage( hScroll, WM_LBUTTONDOWN, 0, 0x10001);

0 for lParam would work just fine. A magic value needs either explanation
or MAKELPARAM(1, 1) if you really need coordinates.

-- 
Dmitry.



More information about the wine-devel mailing list