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
e1f67b99
Commit
e1f67b99
authored
Nov 08, 1998
by
NF Stevens
Committed by
Alexandre Julliard
Nov 08, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed keystroke accelerators in dialogs which have controls containing
other controls as child windows.
parent
fdf6aa4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
dialog.c
windows/dialog.c
+19
-5
No files found.
windows/dialog.c
View file @
e1f67b99
...
...
@@ -1010,6 +1010,7 @@ BOOL32 WINAPI EndDialog32( HWND32 hwnd, INT32 retval )
static
BOOL32
DIALOG_IsAccelerator
(
HWND32
hwnd
,
HWND32
hwndDlg
,
WPARAM32
vKey
)
{
HWND32
hwndControl
=
hwnd
;
HWND32
hwndNext
;
WND
*
wndPtr
;
BOOL32
RetVal
=
FALSE
;
INT32
dlgCode
;
...
...
@@ -1075,11 +1076,24 @@ static BOOL32 DIALOG_IsAccelerator( HWND32 hwnd, HWND32 hwndDlg, WPARAM32 vKey )
}
}
}
hwndControl
=
GetWindow32
(
hwndControl
,
GW_HWNDNEXT
);
if
(
!
hwndControl
)
{
hwndControl
=
GetWindow32
(
hwndDlg
,
GW_CHILD
);
}
hwndNext
=
GetWindow32
(
hwndControl
,
GW_CHILD
);
if
(
!
hwndNext
)
{
hwndNext
=
GetWindow32
(
hwndControl
,
GW_HWNDNEXT
);
}
while
(
!
hwndNext
)
{
hwndControl
=
GetParent32
(
hwndControl
);
if
(
hwndControl
==
hwndDlg
)
{
hwndNext
=
GetWindow32
(
hwndDlg
,
GW_CHILD
);
}
else
{
hwndNext
=
GetWindow32
(
hwndControl
,
GW_HWNDNEXT
);
}
}
hwndControl
=
hwndNext
;
}
while
(
hwndControl
!=
hwnd
);
}
...
...
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