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

This commit is contained in:
Nikolay Sivov 2009-04-02 17:20:50 -04:00 committed by Alexandre Julliard
parent 49ce878de7
commit d7439c0b75
1 changed files with 1 additions and 0 deletions

View File

@ -507,6 +507,7 @@ UPDOWN_Buddy_SubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
HWND upDownHwnd = GetPropW(hwnd, BUDDY_UPDOWN_HWND);
UPDOWN_KeyPressed(UPDOWN_GetInfoPtr(upDownHwnd), (int)wParam);
if ((wParam == VK_UP) || (wParam == VK_DOWN)) return 0;
}
else if (uMsg == WM_MOUSEWHEEL) {
HWND upDownHwnd = GetPropW(hwnd, BUDDY_UPDOWN_HWND);