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
0f234ce4
Commit
0f234ce4
authored
Jun 13, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: When following a link, don't do it into a popup, but its parent.
parent
3b07c851
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
winhelp.c
programs/winhlp32/winhelp.c
+6
-2
No files found.
programs/winhlp32/winhelp.c
View file @
0f234ce4
...
...
@@ -912,7 +912,10 @@ static BOOL WINHELP_HandleTextMouse(WINHELP_WINDOW* win, UINT msg, LPARAM lParam
if
((
hlpfile
=
WINHELP_LookupHelpFile
(
link
->
string
)))
{
if
(
link
->
window
==
-
1
)
{
wi
=
win
->
info
;
if
(
wi
->
win_style
&
WS_POPUP
)
wi
=
Globals
.
active_win
->
info
;
}
else
if
(
link
->
window
<
hlpfile
->
numWindows
)
wi
=
&
hlpfile
->
windows
[
link
->
window
];
else
...
...
@@ -971,9 +974,10 @@ static BOOL WINHELP_CheckPopup(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam
(
HWND
)
lParam
==
Globals
.
active_popup
->
hMainWnd
||
GetWindow
((
HWND
)
lParam
,
GW_OWNER
)
==
Globals
.
active_win
->
hMainWnd
)
break
;
/* fall through */
case
WM_LBUTTONDOWN
:
if
(
WINHELP_HandleTextMouse
(
Globals
.
active_popup
,
msg
,
lParam
)
)
return
FALSE
;
if
(
msg
==
WM_LBUTTONDOWN
)
WINHELP_HandleTextMouse
(
Globals
.
active_popup
,
msg
,
lParam
)
;
/* fall through */
case
WM_MBUTTONDOWN
:
case
WM_RBUTTONDOWN
:
...
...
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