mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[User32]
- Patch modified by Dmitry Timoshkov : Handle virtual key codes only in the WM_KEYDOWN case. See bug 5063. Reported by David Quintana. svn path=/trunk/; revision=44819
This commit is contained in:
parent
098407e9ce
commit
a586dab9f9
1 changed files with 5 additions and 5 deletions
|
@ -1998,12 +1998,7 @@ LRESULT WINAPI ComboWndProc_common( HWND hwnd, UINT message,
|
|||
COMBO_FlipListbox( lphc, FALSE, FALSE );
|
||||
return 0;
|
||||
|
||||
case WM_CHAR:
|
||||
case WM_IME_CHAR:
|
||||
case WM_KEYDOWN:
|
||||
{
|
||||
HWND hwndTarget;
|
||||
|
||||
if ((wParam == VK_RETURN || wParam == VK_ESCAPE) &&
|
||||
(lphc->wState & CBF_DROPPED))
|
||||
{
|
||||
|
@ -2015,6 +2010,11 @@ LRESULT WINAPI ComboWndProc_common( HWND hwnd, UINT message,
|
|||
COMBO_FlipListbox( lphc, FALSE, FALSE );
|
||||
return TRUE;
|
||||
}
|
||||
/* fall through */
|
||||
case WM_CHAR:
|
||||
case WM_IME_CHAR:
|
||||
{
|
||||
HWND hwndTarget;
|
||||
|
||||
if( lphc->wState & CBF_EDIT )
|
||||
hwndTarget = lphc->hWndEdit;
|
||||
|
|
Loading…
Reference in a new issue