Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
356c47e8
Commit
356c47e8
authored
May 23, 2008
by
Igor Tarasov
Committed by
Alexandre Julliard
May 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Further implementation of MNS_NOTIFYBYPOS.
parent
0161606b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
menu.c
dlls/user32/menu.c
+4
-1
No files found.
dlls/user32/menu.c
View file @
356c47e8
...
@@ -2472,7 +2472,10 @@ static INT MENU_ExecFocusedItem( MTRACKER* pmt, HMENU hMenu, UINT wFlags )
...
@@ -2472,7 +2472,10 @@ static INT MENU_ExecFocusedItem( MTRACKER* pmt, HMENU hMenu, UINT wFlags )
MAKELPARAM
((
INT16
)
pmt
->
pt
.
x
,
(
INT16
)
pmt
->
pt
.
y
)
);
MAKELPARAM
((
INT16
)
pmt
->
pt
.
x
,
(
INT16
)
pmt
->
pt
.
y
)
);
else
else
{
{
if
(
menu
->
dwStyle
&
MNS_NOTIFYBYPOS
)
POPUPMENU
*
topmenu
=
MENU_GetMenu
(
pmt
->
hTopMenu
);
DWORD
dwStyle
=
menu
->
dwStyle
|
(
topmenu
?
topmenu
->
dwStyle
:
0
);
if
(
dwStyle
&
MNS_NOTIFYBYPOS
)
PostMessageW
(
pmt
->
hOwnerWnd
,
WM_MENUCOMMAND
,
menu
->
FocusedItem
,
PostMessageW
(
pmt
->
hOwnerWnd
,
WM_MENUCOMMAND
,
menu
->
FocusedItem
,
(
LPARAM
)
hMenu
);
(
LPARAM
)
hMenu
);
else
else
...
...
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