Commit d7439c0b authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/updown: Don't pass VK_[UP|DOWN] to original Up/Don control buddy's winproc.

parent 49ce878d
...@@ -507,6 +507,7 @@ UPDOWN_Buddy_SubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ...@@ -507,6 +507,7 @@ UPDOWN_Buddy_SubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
HWND upDownHwnd = GetPropW(hwnd, BUDDY_UPDOWN_HWND); HWND upDownHwnd = GetPropW(hwnd, BUDDY_UPDOWN_HWND);
UPDOWN_KeyPressed(UPDOWN_GetInfoPtr(upDownHwnd), (int)wParam); UPDOWN_KeyPressed(UPDOWN_GetInfoPtr(upDownHwnd), (int)wParam);
if ((wParam == VK_UP) || (wParam == VK_DOWN)) return 0;
} }
else if (uMsg == WM_MOUSEWHEEL) { else if (uMsg == WM_MOUSEWHEEL) {
HWND upDownHwnd = GetPropW(hwnd, BUDDY_UPDOWN_HWND); HWND upDownHwnd = GetPropW(hwnd, BUDDY_UPDOWN_HWND);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment