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
4f9b4fd3
Commit
4f9b4fd3
authored
Feb 02, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test whether an active maximized MDI child is visible.
parent
36241ced
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
mdi.c
windows/mdi.c
+6
-2
No files found.
windows/mdi.c
View file @
4f9b4fd3
...
@@ -980,7 +980,7 @@ static void MDI_UpdateFrameText( HWND frame, HWND hClient,
...
@@ -980,7 +980,7 @@ static void MDI_UpdateFrameText( HWND frame, HWND hClient,
if
(
ci
->
frameTitle
)
if
(
ci
->
frameTitle
)
{
{
if
(
IsZoomed
(
ci
->
hwndActiveChild
))
if
(
IsZoomed
(
ci
->
hwndActiveChild
)
&&
IsWindowVisible
(
ci
->
hwndActiveChild
)
)
{
{
/* combine frame title and child title if possible */
/* combine frame title and child title if possible */
...
@@ -1216,7 +1216,8 @@ static LRESULT MDIClientWndProc_common( HWND hwnd, UINT message,
...
@@ -1216,7 +1216,8 @@ static LRESULT MDIClientWndProc_common( HWND hwnd, UINT message,
return
0
;
return
0
;
case
WM_SIZE
:
case
WM_SIZE
:
if
(
IsWindow
(
ci
->
hwndActiveChild
)
&&
IsZoomed
(
ci
->
hwndActiveChild
)
)
if
(
IsWindow
(
ci
->
hwndActiveChild
)
&&
IsZoomed
(
ci
->
hwndActiveChild
)
&&
IsWindowVisible
(
ci
->
hwndActiveChild
)
)
{
{
RECT
rect
;
RECT
rect
;
...
@@ -1506,6 +1507,9 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
...
@@ -1506,6 +1507,9 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
break
;
break
;
case
WM_SIZE
:
case
WM_SIZE
:
if
(
wParam
==
SIZE_MAXIMIZED
&&
!
IsWindowVisible
(
hwnd
))
wParam
=
SIZE_RESTORED
;
if
(
hwnd
==
ci
->
hwndActiveChild
&&
wParam
!=
SIZE_MAXIMIZED
)
if
(
hwnd
==
ci
->
hwndActiveChild
&&
wParam
!=
SIZE_MAXIMIZED
)
{
{
MDI_RestoreFrameMenu
(
GetParent
(
client
),
hwnd
);
MDI_RestoreFrameMenu
(
GetParent
(
client
),
hwnd
);
...
...
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