Changeset 9951 for trunk/src


Ignore:
Timestamp:
Mar 28, 2003, 2:57:00 PM (22 years ago)
Author:
sandervl
Message:

Removed changes for window tracking (move/size) with full window dragging enabled (2003-03-27)

Location:
trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/pmwindow.cpp

    r9950 r9951  
    1 /* $Id: pmwindow.cpp,v 1.204 2003-03-28 11:49:02 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.205 2003-03-28 13:56:59 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
  • trunk/src/user32/wintrack.cpp

    r9943 r9951  
    558558    SetCapture( hwnd );
    559559
    560     BOOL fMove = (wParam & 0xfff0) == SC_MOVE;
    561 
    562560    //prevent the app from drawing to this window (or its children)   
    563     if(!DragFullWindows || fMove)
     561    if(!DragFullWindows)
    564562        LockWindowUpdate(hwnd);
    565563
     
    650648                else SendMessageA( hwnd, WM_SIZING, wpSizingHit, (LPARAM)&newRect );
    651649
    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));
    653651
    654652                dprintf(("update capture point dx %d dy %d", dx, dy));
     
    659657                if (!iconic)
    660658                {
     659                    BOOL fMove = (wParam & 0xfff0) == SC_MOVE;
     660
    661661                    if(!DragFullWindows)
    662662                        draw_moving_frame( hdc, &newRect, thickframe, hittest, TRUE );
    663663                    else {
    664                         if (!fMove) {
    665                             LockWindowUpdate(hwnd);
    666                         }
    667664                        SetWindowPos( hwnd, 0, newRect.left, newRect.top,
    668665                                      newRect.right - newRect.left,
     
    670667                                      ((hittest == HTCAPTION ) ? SWP_NOSIZE : 0 ) |
    671668                                      ((fControl) ? (SWP_NOACTIVATE|SWP_NOZORDER) : 0));
    672                         if (!fMove) {
    673                             LockWindowUpdate(NULL);
    674                         }
    675669                    }
    676670                }
     
    680674
    681675    //Enable window update
    682     if(!DragFullWindows || fMove)
     676    if(!DragFullWindows)
    683677        LockWindowUpdate(NULL);
    684678
Note: See TracChangeset for help on using the changeset viewer.