Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
95f323ed
Commit
95f323ed
authored
Apr 09, 2008
by
Lei Zhang
Committed by
Alexandre Julliard
Apr 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Handle VK_TAB in EDIT_WM_KeyDown.
parent
dfbb2fc9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dialog.c
dlls/user32/dialog.c
+1
-1
edit.c
dlls/user32/edit.c
+3
-3
No files found.
dlls/user32/dialog.c
View file @
95f323ed
...
...
@@ -1094,7 +1094,7 @@ BOOL WINAPI IsDialogMessageW( HWND hwndDlg, LPMSG msg )
{
case
WM_KEYDOWN
:
dlgCode
=
SendMessageW
(
msg
->
hwnd
,
WM_GETDLGCODE
,
msg
->
wParam
,
(
LPARAM
)
msg
);
if
(
dlgCode
&
(
DLGC_WANT
CHARS
|
DLGC_WANT
MESSAGE
))
break
;
if
(
dlgCode
&
(
DLGC_WANTMESSAGE
))
break
;
switch
(
msg
->
wParam
)
{
...
...
dlls/user32/edit.c
View file @
95f323ed
...
...
@@ -814,9 +814,6 @@ static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
case
VK_ESCAPE
:
SendMessageW
(
GetParent
(
hwnd
),
WM_CLOSE
,
0
,
0
);
break
;
case
VK_TAB
:
SendMessageW
(
GetParent
(
hwnd
),
WM_NEXTDLGCTL
,
(
GetKeyState
(
VK_SHIFT
)
&
0x8000
),
0
);
break
;
default:
break
;
}
...
...
@@ -4639,6 +4636,9 @@ static LRESULT EDIT_WM_KeyDown(EDITSTATE *es, INT key)
if
(
!
(
es
->
style
&
ES_MULTILINE
))
SendMessageW
(
GetParent
(
es
->
hwndSelf
),
WM_COMMAND
,
IDCANCEL
,
(
LPARAM
)
GetDlgItem
(
GetParent
(
es
->
hwndSelf
),
IDCANCEL
)
);
break
;
case
VK_TAB
:
SendMessageW
(
es
->
hwndParent
,
WM_NEXTDLGCTL
,
shift
,
0
);
break
;
}
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment