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
43860b7a
Commit
43860b7a
authored
Aug 29, 2007
by
Kirill K. Smirnov
Committed by
Alexandre Julliard
Aug 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: Add WS_EX_TOOLWINDOW style to popup windows.
parent
e22ce462
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
winhelp.c
programs/winhelp/winhelp.c
+5
-2
No files found.
programs/winhelp/winhelp.c
View file @
43860b7a
...
...
@@ -551,6 +551,7 @@ BOOL WINHELP_CreateHelpWindow(HLPFILE_PAGE* page, HLPFILE_WINDOWINFO* wi,
BOOL
bPrimary
;
BOOL
bPopup
;
LPSTR
name
;
DWORD
ex_style
;
bPrimary
=
!
lstrcmpi
(
wi
->
name
,
"main"
);
bPopup
=
wi
->
win_style
&
WS_POPUP
;
...
...
@@ -623,7 +624,9 @@ BOOL WINHELP_CreateHelpWindow(HLPFILE_PAGE* page, HLPFILE_WINDOWINFO* wi,
}
}
hWnd
=
CreateWindow
(
bPopup
?
TEXT_WIN_CLASS_NAME
:
MAIN_WIN_CLASS_NAME
,
ex_style
=
0
;
if
(
bPopup
)
ex_style
=
WS_EX_TOOLWINDOW
;
hWnd
=
CreateWindowEx
(
ex_style
,
bPopup
?
TEXT_WIN_CLASS_NAME
:
MAIN_WIN_CLASS_NAME
,
wi
->
caption
,
bPrimary
?
WS_OVERLAPPEDWINDOW
:
wi
->
win_style
,
wi
->
origin
.
x
,
wi
->
origin
.
y
,
wi
->
size
.
cx
,
wi
->
size
.
cy
,
...
...
@@ -983,7 +986,7 @@ static LRESULT CALLBACK WINHELP_TextWndProc(HWND hWnd, UINT msg, WPARAM wParam,
new_window_size
.
cy
=
old_window_size
.
cy
-
old_client_size
.
cy
+
new_client_size
.
cy
;
win
->
hShadowWnd
=
CreateWindow
(
SHADOW_WIN_CLASS_NAME
,
""
,
WS_POPUP
,
CreateWindow
Ex
(
WS_EX_TOOLWINDOW
,
SHADOW_WIN_CLASS_NAME
,
""
,
WS_POPUP
,
origin
.
x
+
SHADOW_DX
,
origin
.
y
+
SHADOW_DY
,
new_window_size
.
cx
,
new_window_size
.
cy
,
0
,
0
,
Globals
.
hInstance
,
0
);
...
...
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