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
60cf612b
Commit
60cf612b
authored
Sep 01, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Henning Hoffmann
Augment menu when a mdi window starts maximized.
parent
bd616cb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
mdi.c
windows/mdi.c
+17
-0
No files found.
windows/mdi.c
View file @
60cf612b
...
...
@@ -373,6 +373,23 @@ static LRESULT MDISetMenu( HWND hwnd, HMENU hmenuFrame,
return
oldFrameMenu
;
}
}
else
{
INT
nItems
=
GetMenuItemCount
(
w
->
parent
->
wIDmenu
)
-
1
;
UINT
iId
=
GetMenuItemID
(
w
->
parent
->
wIDmenu
,
nItems
)
;
if
(
!
(
iId
==
SC_RESTORE
||
iId
==
SC_CLOSE
)
)
{
/* SetMenu() may already have been called, meaning that this window
* already has its menu. But they may have done a SetMenu() on
* an MDI window, and called MDISetMenu() after the fact, meaning
* that the "if" to this "else" wouldn't catch the need to
* augment the frame menu.
*/
if
(
ci
->
hwndChildMaximized
)
MDI_AugmentFrameMenu
(
ci
,
w
->
parent
,
ci
->
hwndChildMaximized
);
}
}
WIN_ReleaseWndPtr
(
w
);
return
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