comctl32/updown: Don't pass VK_[UP|DOWN] to original Up/Don control buddy's winproc.
This commit is contained in:
parent
49ce878de7
commit
d7439c0b75
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue