Changeset 5777 for trunk/src/user32
- Timestamp:
- May 22, 2001, 11:33:16 AM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r5721 r5777 1 /* $Id: oslibwin.cpp,v 1.9 4 2001-05-16 07:42:26sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.95 2001-05-22 09:33:10 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 775 775 else dwWinStyle &= ~WS_CLIPSIBLINGS; 776 776 777 if(dwStyle & WS_MINIMIZE_W) { 778 dwWinStyle |= WS_MINIMIZED; 779 } 780 else dwWinStyle &= ~WS_MINIMIZED; 781 777 782 if(dwWinStyle != dwOldWinStyle) { 778 783 WinSetWindowULong(hwndFrame, QWL_STYLE, dwWinStyle); -
trunk/src/user32/pmwindow.cpp
r5713 r5777 1 /* $Id: pmwindow.cpp,v 1.13 0 2001-05-15 14:31:39sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.131 2001-05-22 09:33:12 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 773 773 if ((pswp->fl & (SWP_SIZE | SWP_MOVE | SWP_ZORDER)) == 0) 774 774 { 775 if(pswp->fl & SWP_RESTORE && win32wnd->getStyle() & WS_MINIMIZE_W) { 776 dprintf(("Restoring minimized window %x", win32wnd->getWindowHandle())); 777 win32wnd->ShowWindow(SW_RESTORE_W); 778 } 775 779 if(pswp->fl & SWP_SHOW) { 776 780 WinShowWindow(win32wnd->getOS2WindowHandle(), 1); -
trunk/src/user32/win32wbasepos.cpp
r5685 r5777 1 /* $Id: win32wbasepos.cpp,v 1.2 4 2001-05-11 08:39:45sandervl Exp $ */1 /* $Id: win32wbasepos.cpp,v 1.25 2001-05-22 09:33:16 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (nonclient/position methods) … … 308 308 setStyle(getStyle() | WS_MINIMIZE); 309 309 310 iconPos.x = windowpos.ptMinPosition.x; 311 iconPos.y = windowpos.ptMinPosition.y; 312 WINPOS_FindIconPos(getWindowHandle(), iconPos); 313 SetRect(lpRect, iconPos.x, iconPos.y, GetSystemMetrics(SM_CXICON), GetSystemMetrics(SM_CYICON) ); 310 if(getParent() == NULL) { 311 SetRect(lpRect, -32000, -32000, GetSystemMetrics(SM_CXICON), GetSystemMetrics(SM_CYICON)); 312 OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(), getStyle(), getExStyle()); 313 } 314 else { 315 iconPos.x = windowpos.ptMinPosition.x; 316 iconPos.y = windowpos.ptMinPosition.y; 317 WINPOS_FindIconPos(getWindowHandle(), iconPos); 318 SetRect(lpRect, iconPos.x, iconPos.y, GetSystemMetrics(SM_CXICON), GetSystemMetrics(SM_CYICON) ); 319 } 314 320 break; 315 321 … … 319 325 if(getStyle() & WS_MINIMIZE ) 320 326 { 321 setStyle(getStyle() & ~WS_MINIMIZE); 327 setStyle(getStyle() & ~WS_MINIMIZE); 328 OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(), getStyle(), getExStyle()); 322 329 } 323 330 setStyle(getStyle() | WS_MAXIMIZE); … … 331 338 { 332 339 setStyle(getStyle() & ~WS_MINIMIZE); 340 OSLibSetWindowStyle(getOS2FrameWindowHandle(), getOS2WindowHandle(), getStyle(), getExStyle()); 333 341 334 342 if( getFlags() & WIN_RESTORE_MAX)
Note:
See TracChangeset
for help on using the changeset viewer.