mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 08:39:05 +00:00
Merge Wine change:
Dmitry Timoshkov <dmitry@codeweavers.com> - Scrollbar should also react on WM_LBUTTONDBLCLK. svn path=/trunk/; revision=8921
This commit is contained in:
parent
d6c2152ba9
commit
1d7a5ffa0b
|
@ -82,8 +82,7 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPA
|
||||||
const struct builtin_class_descr SCROLL_builtin_class =
|
const struct builtin_class_descr SCROLL_builtin_class =
|
||||||
{
|
{
|
||||||
L"ScrollBar", /* name */
|
L"ScrollBar", /* name */
|
||||||
CS_VREDRAW | CS_HREDRAW | CS_PARENTDC, /* style, Wine included CS_DBLCLK but then didn't
|
CS_DBLCLKS | CS_VREDRAW | CS_HREDRAW | CS_PARENTDC, /* style */
|
||||||
handle any WM_xBUTTONDBLCLK messages */
|
|
||||||
ScrollBarWndProc, /* procW */
|
ScrollBarWndProc, /* procW */
|
||||||
NULL, /* procA (winproc is Unicode only) */
|
NULL, /* procA (winproc is Unicode only) */
|
||||||
sizeof(SCROLLBARINFO) + sizeof(SCROLLINFO), /* extra */
|
sizeof(SCROLLBARINFO) + sizeof(SCROLLINFO), /* extra */
|
||||||
|
@ -1274,6 +1273,7 @@ ScrollBarWndProc(HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam)
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
case WM_LBUTTONDBLCLK:
|
||||||
case WM_LBUTTONDOWN:
|
case WM_LBUTTONDOWN:
|
||||||
{
|
{
|
||||||
POINT Pt;
|
POINT Pt;
|
||||||
|
|
Loading…
Reference in a new issue