- Timestamp:
- Mar 28, 2003, 2:57:00 PM (22 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r9950 r9951 1 /* $Id: pmwindow.cpp,v 1.20 4 2003-03-28 11:49:02sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.205 2003-03-28 13:56:59 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 -
trunk/src/user32/wintrack.cpp
r9943 r9951 558 558 SetCapture( hwnd ); 559 559 560 BOOL fMove = (wParam & 0xfff0) == SC_MOVE;561 562 560 //prevent the app from drawing to this window (or its children) 563 if(!DragFullWindows || fMove)561 if(!DragFullWindows) 564 562 LockWindowUpdate(hwnd); 565 563 … … 650 648 else SendMessageA( hwnd, WM_SIZING, wpSizingHit, (LPARAM)&newRect ); 651 649 652 dprintf(("WM_ SIZING rect (%d,%d)(%d,%d)", newRect.left, newRect.top, newRect.right, newRect.bottom));650 dprintf(("WM_MOVING/WM_SIZING rect (%d,%d)(%d,%d)", newRect.left, newRect.top, newRect.right, newRect.bottom)); 653 651 654 652 dprintf(("update capture point dx %d dy %d", dx, dy)); … … 659 657 if (!iconic) 660 658 { 659 BOOL fMove = (wParam & 0xfff0) == SC_MOVE; 660 661 661 if(!DragFullWindows) 662 662 draw_moving_frame( hdc, &newRect, thickframe, hittest, TRUE ); 663 663 else { 664 if (!fMove) {665 LockWindowUpdate(hwnd);666 }667 664 SetWindowPos( hwnd, 0, newRect.left, newRect.top, 668 665 newRect.right - newRect.left, … … 670 667 ((hittest == HTCAPTION ) ? SWP_NOSIZE : 0 ) | 671 668 ((fControl) ? (SWP_NOACTIVATE|SWP_NOZORDER) : 0)); 672 if (!fMove) {673 LockWindowUpdate(NULL);674 }675 669 } 676 670 } … … 680 674 681 675 //Enable window update 682 if(!DragFullWindows || fMove)676 if(!DragFullWindows) 683 677 LockWindowUpdate(NULL); 684 678
Note:
See TracChangeset
for help on using the changeset viewer.