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
baed448f
Commit
baed448f
authored
Jul 13, 2012
by
Daniel Jelinski
Committed by
Alexandre Julliard
Jul 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/treeview: Fix the position reported by WM_CONTEXTMENU.
parent
067d5288
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
treeview.c
dlls/comctl32/treeview.c
+1
-4
No files found.
dlls/comctl32/treeview.c
View file @
baed448f
...
...
@@ -4259,12 +4259,9 @@ TREEVIEW_RButtonDown(TREEVIEW_INFO *infoPtr, LPARAM lParam)
SetFocus
(
infoPtr
->
hwnd
);
if
(
!
TREEVIEW_SendSimpleNotify
(
infoPtr
,
NM_RCLICK
))
{
/* Change to screen coordinate for WM_CONTEXTMENU */
ClientToScreen
(
infoPtr
->
hwnd
,
&
ht
.
pt
);
/* Send a WM_CONTEXTMENU message in response to the RBUTTONUP */
SendMessageW
(
infoPtr
->
hwndNotify
,
WM_CONTEXTMENU
,
(
WPARAM
)
infoPtr
->
hwnd
,
MAKELPARAM
(
ht
.
pt
.
x
,
ht
.
pt
.
y
));
(
WPARAM
)
infoPtr
->
hwnd
,
(
LPARAM
)
GetMessagePos
(
));
}
}
...
...
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