Ignore:
Timestamp:
Jan 12, 2000, 4:14:16 PM (26 years ago)
Author:
sandervl
Message:

client positioning + scrollbar fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/win32wbase.cpp

    r2415 r2418  
    1 /* $Id: win32wbase.cpp,v 1.35 2000-01-12 12:40:47 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.36 2000-01-12 15:14:16 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    20282028    }
    20292029
     2030    if(IsWindowDestroyed()) {
     2031        //changing the position of a window that's being destroyed can cause crashes in PMMERGE
     2032        dprintf(("SetWindowPos; window already destroyed"));
     2033        return TRUE;
     2034    }
    20302035    WINDOWPOS wpos;
    20312036    SWP swp, swpOld;
     
    20532058
    20542059    OSLibMapWINDOWPOStoSWP(&wpos, &swp, &swpOld, hParent, OS2HwndFrame);
    2055     if (swp.fl == 0)
    2056       return TRUE;
     2060    if (swp.fl == 0) {
     2061        if (fuFlags & SWP_FRAMECHANGED)
     2062        {
     2063            FrameUpdateClient(this);
     2064        }
     2065        return TRUE;
     2066    }
    20572067
    20582068//   if ((swp.fl & SWPOS_ZORDER) && (swp.hwndInsertBehind > HWNDOS_BOTTOM))
     
    20982108    }
    20992109
    2100     if (fuFlags == SWP_FRAMECHANGED)
    2101     {
    2102       //CB: optimize: if frame size has changed not necessary!
    2103       FrameUpdateFrame(this,0);
     2110    if(fuFlags & SWP_FRAMECHANGED && (fuFlags & (SWP_NOMOVE | SWP_NOSIZE) == (SWP_NOMOVE | SWP_NOSIZE)))
     2111    {
     2112        FrameUpdateClient(this);
    21042113    }
    21052114
Note: See TracChangeset for help on using the changeset viewer.