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
1cc0a9a2
Commit
1cc0a9a2
authored
Sep 03, 1999
by
Francis Beaudet
Committed by
Alexandre Julliard
Sep 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure that all MDI children have the WS_EX_MDICHILD style set.
parent
c37a126f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
mdi.c
windows/mdi.c
+3
-0
nonclient.c
windows/nonclient.c
+5
-1
No files found.
windows/mdi.c
View file @
1cc0a9a2
...
...
@@ -372,6 +372,9 @@ static HWND MDICreateChild( WND *w, MDICLIENTINFO *ci, HWND parent,
{
WND
*
wnd
=
WIN_FindWndPtr
(
hwnd
);
/* All MDI child windows have the WS_EX_MDICHILD style */
wnd
->
dwExStyle
|=
WS_EX_MDICHILD
;
MDI_MenuModifyItem
(
w
,
hwnd
);
if
(
wnd
->
dwStyle
&
WS_MINIMIZE
&&
ci
->
hwndActiveChild
)
ShowWindow
(
hwnd
,
SW_SHOWMINNOACTIVE
);
...
...
windows/nonclient.c
View file @
1cc0a9a2
...
...
@@ -636,7 +636,11 @@ NC_GetInsideRect95 (HWND hwnd, RECT *rect)
InflateRect
(
rect
,
-
GetSystemMetrics
(
SM_CXBORDER
),
-
GetSystemMetrics
(
SM_CYBORDER
)
);
}
if
(
wndPtr
->
dwStyle
&
WS_CHILD
)
{
/* We have additional border information if the window
* is a child (but not an MDI child) */
if
(
(
wndPtr
->
dwStyle
&
WS_CHILD
)
&&
(
(
wndPtr
->
dwExStyle
&
WS_EX_MDICHILD
)
==
0
)
)
{
if
(
wndPtr
->
dwExStyle
&
WS_EX_CLIENTEDGE
)
InflateRect
(
rect
,
-
GetSystemMetrics
(
SM_CXEDGE
),
-
GetSystemMetrics
(
SM_CYEDGE
));
...
...
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