[PATCH 0/1] MR4750: Fix comctl32/Combo : When a letter is typed while list is dropped down, combo shall move to the associated letter without closing the drop down list
Fix comctl32/Combo : When a letter is typed while list is dropped down, combo shall move to the associated letter without closing the drop down list eg, on WM_CHAR, if CBF_DROPPED is set (list dropped) it shall not close (CBF_NOROLLUP to be set) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4750
From: KRosUser <kyle.kcsoftwares(a)gmail.com> --- dlls/comctl32/combo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/comctl32/combo.c b/dlls/comctl32/combo.c index cb0e9745b2a..d0bc490a6ee 100644 --- a/dlls/comctl32/combo.c +++ b/dlls/comctl32/combo.c @@ -1859,6 +1859,9 @@ static LRESULT CALLBACK COMBO_WindowProc( HWND hwnd, UINT message, WPARAM wParam { HWND hwndTarget; + if (lphc->wState & CBF_DROPPED) + lphc->wState |= CBF_NOROLLUP; + if ( lphc->wState & CBF_EDIT ) hwndTarget = lphc->hWndEdit; else -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4750
This merge request was closed by Kyle Katarn. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4750
participants (2)
-
KRosUser -
Kyle Katarn (@KRosUser)