Skip to content
Snippets Groups Projects
Commit c27b6cf9 authored by Ove Kåven's avatar Ove Kåven Committed by Alexandre Julliard
Browse files

DefWindowProc should pass unhandled WM_MOUSEWHEEL to parent, according

to documentation.
parent 91ae8cb2
No related branches found
No related tags found
No related merge requests found
......@@ -331,6 +331,14 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
}
break;
case WM_MOUSEWHEEL:
if (wndPtr->dwStyle & WS_CHILD)
{
return SendMessageA( wndPtr->parent->hwndSelf,
WM_MOUSEWHEEL, wParam, lParam );
}
break;
case WM_ERASEBKGND:
case WM_ICONERASEBKGND:
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment