Changeset 5258 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Feb 23, 2001, 3:52:42 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r5246 r5258 1 /* $Id: pmwindow.cpp,v 1.1 19 2001-02-22 18:18:59sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.120 2001-02-23 14:52:41 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 472 472 else redrawAll = TRUE; 473 473 474 if(win32wnd->IsMixMaxStateChanging()) { 475 dprintf(("WM_CALCVALIDRECT: window changed min/max/restore state, invalidate entire window")); 476 redrawAll = TRUE; 477 } 478 474 479 if (redrawAll) 475 480 { … … 581 586 SWP swpOld; 582 587 WINDOWPOS wp; 583 RECTL newClient rect, oldClientRect;588 RECTL newClientRect, oldClientRect; 584 589 ULONG nccalcret; 585 590 // UINT res = CVR_ALIGNLEFT | CVR_ALIGNTOP; … … 616 621 617 622 //Get new client rectangle 618 mapWin32ToOS2Rect(pswp->cy, win32wnd->getClientRectPtr(), (PRECTLOS2)&newClient rect);623 mapWin32ToOS2Rect(pswp->cy, win32wnd->getClientRectPtr(), (PRECTLOS2)&newClientRect); 619 624 620 625 if(nccalcret == 0) { … … 647 652 } 648 653 } 649 if(res != 0) { 650 654 if(win32wnd->IsMixMaxStateChanging()) { 655 dprintf(("WM_CALCVALIDRECT: window changed min/max/restore state, invalidate entire window")); 656 res |= CVR_REDRAW; 657 } 658 if(res == (CVR_ALIGNTOP|CVR_ALIGNLEFT)) { 659 oldRect->xRight -= oldClientRect.xLeft; 660 oldRect->yBottom += oldClientRect.yBottom; 661 newRect->xRight -= newClientRect.xLeft; 662 newRect->yBottom += newClientRect.yBottom; 651 663 } 652 664
Note:
See TracChangeset
for help on using the changeset viewer.