Sébastien Ramage <[email protected]> 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.


Reply via email to