Changeset 10035 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Apr 24, 2003, 4:32:02 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r10031 r10035 1 /* $Id: pmwindow.cpp,v 1.2 09 2003-04-23 18:00:59sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.210 2003-04-24 14:32:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 1501 1501 } 1502 1502 1503 // PF: MDI window is not a common OS/2 frame window so we just skipped all 1504 // PM default processing for it that basicly moved this window to 0,0 point 1505 // and changed frame controls. Now do our own processing. 1506 1507 if ((pswp->fl & SWP_MAXIMIZE) && (win32wnd->getExStyle() & WS_EX_MDICHILD_W)) 1508 { 1509 SendMessageA(win32wnd->getWindowHandle(), WM_SYSCOMMAND_W, SC_MAXIMIZE_W, 0); 1510 goto PosChangedEnd; 1511 } 1512 1503 1513 //SvL: When a window is made visible, then we don't receive a 1504 1514 // WM_VRNENABLED message (for some weird reason) … … 1981 1991 if ((swp->fl & SWP_MAXIMIZE) == SWP_MAXIMIZE) 1982 1992 { 1993 // MDI frame windows are not common PM windows so we need to 1994 // drop-out WHOLE chain of WM_X commands with SWP_MAXIMIZE flag 1995 // finally last WM_WINDOWPOSCHANGED will take care of maximization 1996 1997 if (win32wnd->getExStyle() & WS_EX_MDICHILD_W) { 1998 rc = 0; 1999 break; 2000 } 2001 1983 2002 RECT rect; 1984 2003 rect.left = rect.top = rect.right = rect.bottom = 0;
Note:
See TracChangeset
for help on using the changeset viewer.