- Timestamp:
- Feb 19, 2001, 11:15:52 AM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.cpp
r5173 r5189 1 /* $Id: dc.cpp,v 1.8 8 2001-02-18 17:59:04sandervl Exp $ */1 /* $Id: dc.cpp,v 1.89 2001-02-19 10:15:49 sandervl Exp $ */ 2 2 3 3 /* … … 428 428 hrgnRect = GreCreateRectRegion(pHps->hps, &rcl, 1); 429 429 #if 0 430 if(window->getParent()) 430 if(window->getParent()) 431 431 { 432 432 HRGN hrgnParentClip; … … 1740 1740 { 1741 1741 dprintf(("ScrollWindowEx: Scroll child window %x", hwndChild)); 1742 1743 1744 1742 SetWindowPos(hwndChild, 0, rectChild.left + dx, 1743 rectChild.top + orgdy, 0, 0, SWP_NOZORDER_W | 1744 SWP_NOSIZE_W | SWP_NOACTIVATE_W | SWP_NOREDRAW); 1745 1745 } 1746 1746 hwndChild = GetWindow(hwndChild, GW_HWNDNEXT_W); … … 1843 1843 if(!pHps) 1844 1844 { 1845 1845 return; 1846 1846 } 1847 1847 -
trunk/src/user32/pmwindow.cpp
r5164 r5189 1 /* $Id: pmwindow.cpp,v 1.11 6 2001-02-18 14:18:38sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.117 2001-02-19 10:15:52 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 438 438 //CB: todo: use result for WM_CALCVALIDRECTS 439 439 //Get old client rectangle (for invalidation of frame window parts later on) 440 mapWin32ToOS2Rect(win32wnd->getWindowHeight(), win32wnd->getClientRectPtr(), (PRECTLOS2)&rect); 440 //Use new window height to calculate the client area 441 mapWin32ToOS2Rect(pswp->cy, win32wnd->getClientRectPtr(), (PRECTLOS2)&rect); 441 442 442 443 //Note: Also updates the new window rectangle … … 474 475 475 476 WinQueryWindowRect(hwnd,&frame); 477 476 478 //top 477 479 arcl[0].xLeft = 0; … … 1238 1240 if(!WinEqualRect(0, &rcl, &track.rclTrack)) { 1239 1241 dprintf(("FrameTrackFrame: new (os/2) window rect: (%d,%d)(%d,%d)", track.rclTrack.xLeft, track.rclTrack.yBottom, track.rclTrack.xRight - track.rclTrack.xLeft, track.rclTrack.yTop - track.rclTrack.yBottom)); 1240 if(flags == TF_MOVE) {1241 WinSetWindowPos(win32wnd->getOS2WindowHandle(),1242 1243 1244 }1245 else {1242 if(flags == TF_MOVE) { 1243 WinSetWindowPos(win32wnd->getOS2WindowHandle(), 1244 0, track.rclTrack.xLeft, track.rclTrack.yBottom, 1245 0, 0, SWP_MOVE); 1246 } 1247 else { 1246 1248 SetWindowPos(win32wnd->getWindowHandle(), 0, track.rclTrack.xLeft, 1247 1249 parentHeight - track.rclTrack.yTop, … … 1249 1251 track.rclTrack.yTop - track.rclTrack.yBottom, 1250 1252 SWP_NOACTIVATE_W | SWP_NOZORDER_W | SWP_NOACTIVATE_W); 1251 // WinSetWindowPos(win32wnd->getOS2WindowHandle(),1252 // 1253 // 1254 // 1255 // 1256 }1253 // WinSetWindowPos(win32wnd->getOS2WindowHandle(), 1254 // 0, track.rclTrack.xLeft, track.rclTrack.yBottom, 1255 // track.rclTrack.xRight - track.rclTrack.xLeft, 1256 // track.rclTrack.yTop - track.rclTrack.yBottom, 1257 // SWP_SIZE|SWP_MOVE); 1258 } 1257 1259 } 1258 1260 return;
Note:
See TracChangeset
for help on using the changeset viewer.