Ignore:
Timestamp:
May 2, 2000, 10:50:53 PM (25 years ago)
Author:
sandervl
Message:

RDW_FRAME support for GetDCEx; added wine dialog change; added extra logging

File:
1 edited

Legend:

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

    r3462 r3482  
    1 /* $Id: win32wbase.cpp,v 1.181 2000-04-29 18:28:39 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.182 2000-05-02 20:50:51 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    21132113        return TRUE;
    21142114    }
     2115#if 0
     2116    /* Fix redundant flags */
     2117    if(getStyle() & WS_VISIBLE) {
     2118        fuFlags &= ~SWP_SHOWWINDOW;
     2119    }
     2120    else
     2121    {
     2122        if (!(fuFlags & SWP_SHOWWINDOW))
     2123              fuFlags |= SWP_NOREDRAW;
     2124        fuFlags &= ~SWP_HIDEWINDOW;
     2125    }
     2126
     2127    if(cx < 0) cx = 0;
     2128    if(cy < 0) cy = 0;
     2129
     2130    if((rectWindow.right - rectWindow.left == cx) && (rectWindow.bottom - rectWindow.top == cy)) {
     2131        fuFlags |= SWP_NOSIZE;    /* Already the right size */
     2132    }
     2133
     2134    if((rectWindow.left == x) && (rectWindow.top == y)) {
     2135        fuFlags |= SWP_NOMOVE;    /* Already the right position */
     2136    }
     2137
     2138    if(getWindowHandle() == GetActiveWindow()) {
     2139        fuFlags |= SWP_NOACTIVATE;   /* Already active */
     2140    }
     2141    else
     2142    if((getStyle() & (WS_POPUP | WS_CHILD)) != WS_CHILD )
     2143    {
     2144        if(!(fuFlags & SWP_NOACTIVATE)) /* Bring to the top when activating */
     2145        {
     2146            fuFlags &= ~SWP_NOZORDER;
     2147            hwndInsertAfter = HWND_TOP;           
     2148        }
     2149    }
     2150#endif
     2151
    21152152    WINDOWPOS wpos;
    21162153    SWP swp, swpOld;
     
    21962233        FrameUpdateClient(this);
    21972234    }
    2198 
    21992235    return (rc);
    22002236}
Note: See TracChangeset for help on using the changeset viewer.