mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[COMCTL32][USER32] ComboBox: Don't close listbox on letter type (#6227)
Based on KRosUser's combo_v3.patch. JIRA issue: CORE-16376 - Set CBF_NOROLLUP flag on (WM_CHAR or WM_IME_CHAR) and CBF_DROPPED state.
This commit is contained in:
parent
006bdfa234
commit
b59bf8a3f4
2 changed files with 8 additions and 0 deletions
|
@ -1918,6 +1918,10 @@ static LRESULT CALLBACK COMBO_WindowProc( HWND hwnd, UINT message, WPARAM wParam
|
|||
{
|
||||
HWND hwndTarget;
|
||||
|
||||
#ifdef __REACTOS__
|
||||
if (lphc->wState & CBF_DROPPED)
|
||||
lphc->wState |= CBF_NOROLLUP;
|
||||
#endif
|
||||
if ( lphc->wState & CBF_EDIT )
|
||||
hwndTarget = lphc->hWndEdit;
|
||||
else
|
||||
|
|
|
@ -2017,6 +2017,10 @@ LRESULT WINAPI ComboWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPAR
|
|||
{
|
||||
HWND hwndTarget;
|
||||
|
||||
#ifdef __REACTOS__
|
||||
if (lphc->wState & CBF_DROPPED)
|
||||
lphc->wState |= CBF_NOROLLUP;
|
||||
#endif
|
||||
if ( lphc->wState & CBF_EDIT )
|
||||
hwndTarget = lphc->hWndEdit;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue