- Timestamp:
- Apr 11, 2003, 12:55:02 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r9964 r10008 1 /* $Id: pmwindow.cpp,v 1.20 7 2003-04-01 09:58:36sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.208 2003-04-11 10:55:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 1510 1510 } 1511 1511 1512 if ((pswp->fl & (SWP_SIZE | SWP_MOVE | SWP_ZORDER)) == 0)1513 {1514 if(pswp->fl & SWP_RESTORE && win32wnd->getStyle() & WS_MINIMIZE_W) {1515 dprintf(("Restoring minimized window %x", win32wnd->getWindowHandle()));1516 win32wnd->ShowWindow(SW_RESTORE_W);1517 }1518 if(pswp->fl & SWP_SHOW) {1519 WinShowWindow(win32wnd->getOS2WindowHandle(), 1);1520 }1521 else1522 if(pswp->fl & SWP_HIDE) {1523 WinShowWindow(win32wnd->getOS2WindowHandle(), 0);1524 }1525 //MUST call the old frame window proc!1526 goto RunDefFrameWndProc;1527 }1528 1529 1512 if(pswp->fl & (SWP_MOVE | SWP_SIZE)) 1530 1513 { … … 1555 1538 } 1556 1539 else wp.hwndInsertAfter = HWND_TOP_W; 1540 } 1541 1542 if ((pswp->fl & (SWP_SIZE | SWP_MOVE | SWP_ZORDER)) == 0) 1543 { 1544 if(pswp->fl & SWP_RESTORE && win32wnd->getStyle() & WS_MINIMIZE_W) { 1545 dprintf(("Restoring minimized window %x", win32wnd->getWindowHandle())); 1546 win32wnd->ShowWindow(SW_RESTORE_W); 1547 } 1548 if(pswp->fl & SWP_SHOW) { 1549 WinShowWindow(win32wnd->getOS2WindowHandle(), 1); 1550 } 1551 else 1552 if(pswp->fl & SWP_HIDE) { 1553 WinShowWindow(win32wnd->getOS2WindowHandle(), 0); 1554 } 1555 if(pswp->fl & (SWP_SHOW|SWP_HIDE)) 1556 {//TODO: necessary for more options? (activate?) 1557 if(win32wnd->CanReceiveSizeMsgs()) 1558 win32wnd->MsgPosChanged((LPARAM)&wp); 1559 } 1560 1561 //MUST call the old frame window proc! 1562 goto RunDefFrameWndProc; 1557 1563 } 1558 1564
Note:
See TracChangeset
for help on using the changeset viewer.