[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: controls/scroll.c
From: "Dmitry Timoshkov" <dmitry () baikal ! ru>
Date: 2004-03-29 12:42:02
Message-ID: 007001c4158b$6ff7ba40$d4823bd5 () dmitry
[Download RAW message or body]
"Ge van Geldorp" <ge@gse.nl> wrote:
> If you double click on the arrow of a scrollbar control the slider will
> move only 1 position instead of the expected 2. This is because the
> second click is delivered as a WM_LBUTTONDBLCLK (due to the CS_DBLCLKS
> class style) which is not handled by the scrollbar control. I can send
> you a small demo program.
Thanks for the explanation.
There is no need for a demo. Any app with ScrollBar window class could
confirm what you mean. Spy++ under Windows clearly shows that ScrollBar
under Windows reacts on WM_LBUTTONDBLCLK the same way as on WM_LBUTTONDOWN,
and that there is only single WM_LBUTTONDOWN, followed by WM_LBUTTONUP,
WM_LBUTTONDBLCLK, WM_LBUTTONUP.
Changelog:
Dmitry Timoshkov <dmitry@codeweavers.com>
Scrollbar should also react on WM_LBUTTONDBLCLK.
--
Dmitry.
["scroll.c.diff" (text/plain)]
--- cvs/hq/wine/controls/scroll.c Wed Mar 17 02:17:42 2004
+++ wine/controls/scroll.c Mon Mar 29 12:33:56 2004
@@ -1408,6 +1408,7 @@ static LRESULT WINAPI ScrollBarWndProc(
}
return 0;
+ case WM_LBUTTONDBLCLK:
case WM_LBUTTONDOWN:
{
POINT pt;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic