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
48ab8eb3
Commit
48ab8eb3
authored
Feb 02, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix the WM_CONTEXTMENU parameter for 64-bit.
parent
aa477841
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
defwnd.c
dlls/user32/defwnd.c
+1
-1
msg.c
dlls/user32/tests/msg.c
+1
-1
No files found.
dlls/user32/defwnd.c
View file @
48ab8eb3
...
...
@@ -563,7 +563,7 @@ static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
else
if
(
wParam
==
VK_F10
)
{
if
(
GetKeyState
(
VK_SHIFT
)
&
0x8000
)
SendMessageW
(
hwnd
,
WM_CONTEXTMENU
,
(
WPARAM
)
hwnd
,
MAKELPARAM
(
-
1
,
-
1
)
);
SendMessageW
(
hwnd
,
WM_CONTEXTMENU
,
(
WPARAM
)
hwnd
,
-
1
);
iF10Key
=
1
;
}
else
if
(
wParam
==
VK_ESCAPE
&&
(
GetKeyState
(
VK_SHIFT
)
&
0x8000
))
...
...
dlls/user32/tests/msg.c
View file @
48ab8eb3
...
...
@@ -6910,7 +6910,7 @@ static const struct message WmShiftF10Seq[] = {
{
HCBT_KEYSKIPPED
,
hook
|
wparam
|
lparam
|
optional
,
VK_F10
,
1
},
/* XP */
{
WM_SYSKEYDOWN
,
wparam
|
lparam
,
VK_F10
,
1
},
{
WM_SYSKEYDOWN
,
sent
|
wparam
|
lparam
,
VK_F10
,
0x00000001
},
{
WM_CONTEXTMENU
,
sent
|
defwinproc
|
lparam
,
/*hwnd*/
0
,
MAKELPARAM
(
-
1
,
-
1
)
},
{
WM_CONTEXTMENU
,
sent
|
defwinproc
|
lparam
,
/*hwnd*/
0
,
-
1
},
{
HCBT_KEYSKIPPED
,
hook
|
wparam
|
lparam
|
optional
,
VK_F10
,
0xc0000001
},
/* XP */
{
WM_SYSKEYUP
,
wparam
|
lparam
,
VK_F10
,
0xc0000001
},
{
WM_SYSKEYUP
,
sent
|
wparam
|
lparam
,
VK_F10
,
0xc0000001
},
...
...
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