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
dd39c1f9
Commit
dd39c1f9
authored
Apr 22, 2008
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: Be sure to raise a newly (re)created window in all cases.
parent
0c18020c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
winhelp.c
programs/winhelp/winhelp.c
+14
-4
No files found.
programs/winhelp/winhelp.c
View file @
dd39c1f9
...
@@ -543,17 +543,27 @@ BOOL WINHELP_CreateHelpWindow(WINHELP_WNDPAGE* wpage, int nCmdShow, BOOL remembe
...
@@ -543,17 +543,27 @@ BOOL WINHELP_CreateHelpWindow(WINHELP_WNDPAGE* wpage, int nCmdShow, BOOL remembe
{
{
if
(
!
lstrcmpi
(
win
->
lpszName
,
wpage
->
wininfo
->
name
))
if
(
!
lstrcmpi
(
win
->
lpszName
,
wpage
->
wininfo
->
name
))
{
{
POINT
pt
=
{
0
,
0
};
SIZE
sz
=
{
0
,
0
};
DWORD
flags
=
SWP_NOSIZE
|
SWP_NOMOVE
;
WINHELP_DeleteButtons
(
win
);
WINHELP_DeleteButtons
(
win
);
bReUsed
=
TRUE
;
bReUsed
=
TRUE
;
SetWindowText
(
win
->
hMainWnd
,
WINHELP_GetCaption
(
wpage
));
SetWindowText
(
win
->
hMainWnd
,
WINHELP_GetCaption
(
wpage
));
if
(
wpage
->
wininfo
->
origin
.
x
!=
CW_USEDEFAULT
&&
if
(
wpage
->
wininfo
->
origin
.
x
!=
CW_USEDEFAULT
&&
wpage
->
wininfo
->
origin
.
y
!=
CW_USEDEFAULT
)
wpage
->
wininfo
->
origin
.
y
!=
CW_USEDEFAULT
)
SetWindowPos
(
win
->
hMainWnd
,
HWND_TOP
,
{
wpage
->
wininfo
->
origin
.
x
,
wpage
->
wininfo
->
origin
.
y
,
0
,
0
,
SWP_NOSIZE
);
pt
=
wpage
->
wininfo
->
origin
;
flags
&=
~
SWP_NOSIZE
;
}
if
(
wpage
->
wininfo
->
size
.
cx
!=
CW_USEDEFAULT
&&
if
(
wpage
->
wininfo
->
size
.
cx
!=
CW_USEDEFAULT
&&
wpage
->
wininfo
->
size
.
cy
!=
CW_USEDEFAULT
)
wpage
->
wininfo
->
size
.
cy
!=
CW_USEDEFAULT
)
SetWindowPos
(
win
->
hMainWnd
,
HWND_TOP
,
{
0
,
0
,
wpage
->
wininfo
->
size
.
cx
,
wpage
->
wininfo
->
size
.
cy
,
SWP_NOMOVE
);
sz
=
wpage
->
wininfo
->
size
;
flags
&=
~
SWP_NOMOVE
;
}
SetWindowPos
(
win
->
hMainWnd
,
HWND_TOP
,
pt
.
x
,
pt
.
y
,
sz
.
cx
,
sz
.
cy
,
flags
);
if
(
wpage
->
page
&&
wpage
->
page
->
file
!=
win
->
page
->
file
)
if
(
wpage
->
page
&&
wpage
->
page
->
file
!=
win
->
page
->
file
)
WINHELP_DeleteBackSet
(
win
);
WINHELP_DeleteBackSet
(
win
);
WINHELP_InitFonts
(
win
->
hMainWnd
);
WINHELP_InitFonts
(
win
->
hMainWnd
);
...
...
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