"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.