Francis Beaudet

MDI Patch which fixes problems in PR, QP, WP and Paradox.
This commit is contained in:
Alexandre Julliard 2000-09-01 01:23:03 +00:00
parent 26d6c1f557
commit bd616cb02e
1 changed files with 8 additions and 1 deletions

View File

@ -1750,8 +1750,15 @@ LRESULT WINAPI DefMDIChildProc16( HWND16 hwnd, UINT16 message,
TRACE("maximizing child %04x\n", hwnd ); TRACE("maximizing child %04x\n", hwnd );
/*
* Keep track of the maximized window.
*/
ci->hwndChildMaximized = hwnd; /* !!! */ ci->hwndChildMaximized = hwnd; /* !!! */
ci->hwndActiveChild = hwnd;
/*
* The maximized window should also be the active window
*/
MDI_ChildActivate(clientWnd, hwnd);
MDI_AugmentFrameMenu( ci, clientWnd->parent, hwnd); MDI_AugmentFrameMenu( ci, clientWnd->parent, hwnd);
MDI_UpdateFrameText( clientWnd->parent, ci->self, MDI_UpdateFrameText( clientWnd->parent, ci->self,