Changeset 9951 for trunk/src/user32/wintrack.cpp
- Timestamp:
- Mar 28, 2003, 2:57:00 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.