Ignore:
Timestamp:
Jan 29, 2000, 9:46:52 PM (26 years ago)
Author:
sandervl
Message:

SetWindowPos, UpdateWindow & WS_VISIBLE fixes/changes

File:
1 edited

Legend:

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

    r2552 r2569  
    1 /* $Id: win32wbase.cpp,v 1.148 2000-01-28 22:26:00 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.149 2000-01-29 20:46:52 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    20492049   Win32BaseWindow *window;
    20502050   HWND hParent = 0;
     2051   BOOL fShow = FALSE, fHide = FALSE;
    20512052
    20522053    if (fuFlags &
     
    20862087#endif
    20872088
     2089    if(fuFlags & SWP_SHOWWINDOW) {
     2090        fShow = TRUE;
     2091        fuFlags &= ~SWP_SHOWWINDOW;
     2092    }
     2093    else
     2094    if(fuFlags & SWP_HIDEWINDOW) {
     2095        fHide = TRUE;
     2096        fuFlags &= ~SWP_HIDEWINDOW;
     2097    }
    20882098    wpos.flags            = fuFlags;
    20892099    wpos.cy               = cy;
     
    21322142    dprintf (("WinSetWindowPos %x %x (%d,%d)(%d,%d) %x", swp.hwnd, swp.hwndInsertBehind, swp.x, swp.y, swp.cx, swp.cy, swp.fl));
    21332143
     2144    //SvL: For some reason WinSetMultWindowPos doesn't work for showing windows when they are hidden..
     2145    if(fHide) {
     2146        ShowWindow(SW_HIDE);
     2147    }
    21342148    rc = OSLibWinSetMultWindowPos(&swp, 1);
     2149    if(fShow) {
     2150        ShowWindow(SW_SHOWNA);
     2151    }
    21352152
    21362153    if (rc == FALSE)
Note: See TracChangeset for help on using the changeset viewer.