Ignore:
Timestamp:
Apr 10, 2000, 9:42:38 PM (25 years ago)
Author:
sandervl
Message:

topmost window changes

File:
1 edited

Legend:

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

    r3341 r3365  
    1 /* $Id: win32wbase.cpp,v 1.177 2000-04-07 12:55:16 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.178 2000-04-10 19:40:45 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    9494  fTaskList        = FALSE;
    9595  fParentDC        = FALSE;
     96  fComingToTop     = FALSE;
    9697
    9798  windowNameA      = NULL;
     
    158159Win32BaseWindow::~Win32BaseWindow()
    159160{
     161    OSLibWinSetVisibleRegionNotify(OS2HwndFrame, FALSE);
    160162    OSLibWinSetWindowULong(OS2Hwnd, OFFSET_WIN32WNDPTR, 0);
    161163    OSLibWinSetWindowULong(OS2Hwnd, OFFSET_WIN32PM_MAGIC, 0);
     
    494496
    495497  OSLibWinConvertStyle(dwStyle,dwExStyle,&dwOSWinStyle);
     498#if 0
     499  if(((dwStyle & (WS_CAPTION|WS_POPUP)) == WS_CAPTION) && (getParent() == NULL || getParent() == windowDesktop)) {
     500        fTaskList = TRUE;
     501  }
     502#else
    496503  if (((dwStyle & (WS_CAPTION | WS_SYSMENU | 0xC0000000)) == (WS_CAPTION | WS_SYSMENU))) fTaskList = TRUE;
     504#endif
    497505
    498506  OS2Hwnd = OSLibWinCreateWindow((getParent()) ? getParent()->getOS2WindowHandle() : OSLIB_HWND_DESKTOP,
     
    506514        return FALSE;
    507515  }
     516  OSLibWinSetVisibleRegionNotify(OS2HwndFrame, TRUE);
    508517
    509518  SetLastError(0);
Note: See TracChangeset for help on using the changeset viewer.