Hi,
This patch improves Scroll bar behaviour. It adds the support of
blinking thumb as found in Windows scrollbar.
- When a user click the Scroll Bar, (WM_LBUTTONDOWN), If its WS_TABSTOP
style is disabled, we do not generate a WM_SETFOCUS. So any control will
keeps its focus while the scrollbar is in use.
If the WS_TABSTOP is enabled, we generate a WM_SETFOCUS message to the
current ScrollBar.
In previous implementation of wine, WM_SETFOCUS was always sent to the
scroll bar, losing track of the control that had the focus. So it was
impossible
to keep a caret to an edit control while moving the thumb of a scroll bar
with the mouse.
- When WM_SETFOCUS is received on a ScrollBar, it creates a caret the
size of the scroll bar's thumb that gives the effect of a blinking thumb. It
is exactly the same trick employed on Windows.
In previous implementation of wine, no blinking thumb was supported.
Francois Methot
Macadamian Technologies Inc.
scroll.diff