Changeset 2383 for trunk/src/user32/pmframe.cpp
- Timestamp:
- Jan 9, 2000, 3:38:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmframe.cpp
r2371 r2383 1 /* $Id: pmframe.cpp,v 1.3 3 2000-01-08 14:15:06sandervl Exp $ */1 /* $Id: pmframe.cpp,v 1.34 2000-01-09 14:37:09 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Frame Managment Code for OS/2 … … 234 234 //CB: call WM_NCCALCSIZE and set client pos 235 235 // WM_PAINT -> WM_NCPAINT 236 // WM_HITTEST -> MsgHitTest()237 236 // mouse messages -> MsgButton() 238 237 goto RunDefFrameProc; … … 320 319 dprintf(("PMFRAME: WM_WINDOWPOSCHANGED (%x) %x %x (%d,%d) (%d,%d)", mp2, win32wnd->getWindowHandle(), pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy)); 321 320 321 //Signal to the children that their parent's window rect has changed 322 //(the children don't always receive a notification -> their window 323 // rectangle (in screen coordinates) will get out of sync) 324 if(pswp->fl & (SWP_MOVE | SWP_SIZE)) { 325 win32wnd->setWindowRectChanged(); 326 } 327 322 328 RestoreOS2TIB(); 323 329 rc = OldFrameProc(hwnd,msg,mp1,mp2); … … 337 343 OSLibMapSWPtoWINDOWPOSFrame(pswp, &wp, &swpOld, hParent, hwnd); 338 344 339 win32wnd->setWindowRect(wp.x, wp.y, wp.x+wp.cx, wp.y+wp.cy); 340 win32wnd->setClientRect(swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy); 341 345 if(pswp->fl & (SWP_MOVE | SWP_SIZE)) { 346 win32wnd->setWindowRect(wp.x, wp.y, wp.x+wp.cx, wp.y+wp.cy); 347 win32wnd->setClientRect(swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy); 348 } 342 349 if(win32wnd->CanReceiveSizeMsgs()) 343 350 win32wnd->MsgPosChanged((LPARAM)&wp);
Note:
See TracChangeset
for help on using the changeset viewer.