commit | d4707dbb603459c98e74d07aaed3ba8ac297ba0a | [log] [tgz] |
---|---|---|
author | Sergey Khodych <khodych@gmail.com> | Mon Aug 24 01:47:15 2009 +0300 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Aug 26 16:37:12 2009 +0200 |
tree | c4a2472f9fb28f84a1492a07d69da75e0e1cdaa6 | |
parent | 3b6ea11481e1a4a1301ada177cb8f53379bdeab5 [diff] [blame] |
user32: edit: Improve handling of WM_KEYDOWN VK_TAB in a dialog mode.
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c index a96120a..eef07da 100644 --- a/dlls/user32/edit.c +++ b/dlls/user32/edit.c
@@ -3641,7 +3641,8 @@ PostMessageW(es->hwndParent, WM_CLOSE, 0, 0); break; case VK_TAB: - SendMessageW(es->hwndParent, WM_NEXTDLGCTL, shift, 0); + if ((es->style & ES_MULTILINE) && EDIT_IsInsideDialog(es)) + SendMessageW(es->hwndParent, WM_NEXTDLGCTL, shift, 0); break; } return TRUE;