mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[COMCTL32][USER32] ComboBox: Do default processing on WM_SYSKEYDOWN (#6152)
Based on KRosUser's combo.patch. Enable Alt+F4 on ComboBox. Do default processing on WM_SYSKEYDOWN if necessary. CORE-18231
This commit is contained in:
parent
ea59e93e31
commit
04b1e8945b
2 changed files with 14 additions and 0 deletions
|
@ -1890,8 +1890,15 @@ static LRESULT CALLBACK COMBO_WindowProc( HWND hwnd, UINT message, WPARAM wParam
|
|||
case WM_SYSKEYDOWN:
|
||||
if ( KEYDATA_ALT & HIWORD(lParam) )
|
||||
if( wParam == VK_UP || wParam == VK_DOWN )
|
||||
#ifdef __REACTOS__
|
||||
{
|
||||
#endif
|
||||
COMBO_FlipListbox( lphc, FALSE, FALSE );
|
||||
return 0;
|
||||
#ifdef __REACTOS__
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
case WM_KEYDOWN:
|
||||
if ((wParam == VK_RETURN || wParam == VK_ESCAPE) &&
|
||||
|
|
|
@ -1989,8 +1989,15 @@ LRESULT WINAPI ComboWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPAR
|
|||
if ( KEYDATA_ALT & HIWORD(lParam) )
|
||||
#endif
|
||||
if( wParam == VK_UP || wParam == VK_DOWN )
|
||||
#ifdef __REACTOS__
|
||||
{
|
||||
#endif
|
||||
COMBO_FlipListbox( lphc, FALSE, FALSE );
|
||||
return 0;
|
||||
#ifdef __REACTOS__
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
case WM_KEYDOWN:
|
||||
if ((wParam == VK_RETURN || wParam == VK_ESCAPE) &&
|
||||
|
|
Loading…
Reference in a new issue