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
24dc3de4
Commit
24dc3de4
authored
Mar 01, 2006
by
Jason Edmeades
Committed by
Alexandre Julliard
Mar 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Ensure VK_UP displays the popup menu for the selected item if
the popup menu is not visible
parent
ec2cb187
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
menu.c
dlls/user/menu.c
+3
-3
No files found.
dlls/user/menu.c
View file @
24dc3de4
...
...
@@ -3053,19 +3053,19 @@ static BOOL MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
case
VK_END
:
MENU_SelectItem
(
mt
.
hOwnerWnd
,
mt
.
hCurrentMenu
,
NO_SELECTED_ITEM
,
FALSE
,
0
);
/* fall through */
case
VK_UP
:
MENU_MoveSelection
(
mt
.
hOwnerWnd
,
mt
.
hCurrentMenu
,
(
msg
.
wParam
==
VK_HOME
)
?
ITEM_NEXT
:
ITEM_PREV
);
break
;
case
VK_UP
:
case
VK_DOWN
:
/* If on menu bar, pull-down the menu */
menu
=
MENU_GetMenu
(
mt
.
hCurrentMenu
);
if
(
!
(
menu
->
wFlags
&
MF_POPUP
))
mt
.
hCurrentMenu
=
MENU_ShowSubPopup
(
mt
.
hOwnerWnd
,
mt
.
hTopMenu
,
TRUE
,
wFlags
);
else
/* otherwise try to move selection */
MENU_MoveSelection
(
mt
.
hOwnerWnd
,
mt
.
hCurrentMenu
,
ITEM_NEXT
);
MENU_MoveSelection
(
mt
.
hOwnerWnd
,
mt
.
hCurrentMenu
,
(
msg
.
wParam
==
VK_UP
)
?
ITEM_PREV
:
ITEM_NEXT
);
break
;
case
VK_LEFT
:
...
...
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