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
5e86d843
Commit
5e86d843
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: Inlined TREEVIEW_RButtonUp.
parent
c7212f82
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
16 deletions
+3
-16
treeview.c
dlls/comctl32/treeview.c
+3
-16
No files found.
dlls/comctl32/treeview.c
View file @
5e86d843
...
...
@@ -208,7 +208,6 @@ static VOID TREEVIEW_Invalidate(const TREEVIEW_INFO *, const TREEVIEW_ITEM *);
static
LRESULT
TREEVIEW_DoSelectItem
(
TREEVIEW_INFO
*
,
INT
,
HTREEITEM
,
INT
);
static
VOID
TREEVIEW_SetFirstVisible
(
TREEVIEW_INFO
*
,
TREEVIEW_ITEM
*
,
BOOL
);
static
LRESULT
TREEVIEW_EnsureVisible
(
TREEVIEW_INFO
*
,
HTREEITEM
,
BOOL
);
static
LRESULT
TREEVIEW_RButtonUp
(
const
TREEVIEW_INFO
*
,
const
POINT
*
);
static
LRESULT
TREEVIEW_EndEditLabelNow
(
TREEVIEW_INFO
*
infoPtr
,
BOOL
bCancel
);
static
VOID
TREEVIEW_UpdateScrollBars
(
TREEVIEW_INFO
*
infoPtr
);
static
LRESULT
TREEVIEW_HScroll
(
TREEVIEW_INFO
*
,
WPARAM
);
...
...
@@ -4260,30 +4259,18 @@ TREEVIEW_RButtonDown(TREEVIEW_INFO *infoPtr, LPARAM lParam)
SetFocus
(
infoPtr
->
hwnd
);
if
(
!
TREEVIEW_SendSimpleNotify
(
infoPtr
,
NM_RCLICK
))
{
TREEVIEW_RButtonUp
(
infoPtr
,
&
ht
.
pt
);
}
}
return
0
;
}
static
LRESULT
TREEVIEW_RButtonUp
(
const
TREEVIEW_INFO
*
infoPtr
,
const
POINT
*
pPt
)
{
TVHITTESTINFO
ht
;
ht
.
pt
=
*
pPt
;
/* Change to screen coordinate for WM_CONTEXTMENU */
ClientToScreen
(
infoPtr
->
hwnd
,
&
ht
.
pt
);
/* Send a WM_CONTEXTMENU message in response to the RBUTTONUP */
SendMessageW
(
infoPtr
->
hwnd
,
WM_CONTEXTMENU
,
(
WPARAM
)
infoPtr
->
hwnd
,
MAKELPARAM
(
ht
.
pt
.
x
,
ht
.
pt
.
y
));
}
}
return
0
;
}
static
LRESULT
TREEVIEW_CreateDragImage
(
TREEVIEW_INFO
*
infoPtr
,
LPARAM
lParam
)
{
...
...
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