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/oslibwin.cpp

    r2521 r2569  
    1 /* $Id: oslibwin.cpp,v 1.64 2000-01-26 18:02:34 cbratschi Exp $ */
     1/* $Id: oslibwin.cpp,v 1.65 2000-01-29 20:46:52 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    6868  ULONG dwClientStyle = 0;
    6969  ULONG dwFrameStyle = 0;
    70 #if 1
    7170
    7271  BOOL TopLevel = hwndParent == HWND_DESKTOP;
     
    10099  dprintf(("OSLibWinCreateWindow: (FRAME) WinCreateStdWindow failed (%x)", WinGetLastError(GetThreadHAB())));
    101100  return 0;
    102 #else
    103         dwClientStyle = dwWinStyle & ~(WS_TABSTOP | WS_GROUP);
    104 
    105         dwFrameStyle |= FCF_NOBYTEALIGN;
    106         if ((hwndParent == HWND_DESKTOP) && (dwFrameStyle & FCF_TITLEBAR))
    107                 dwFrameStyle |= FCF_TASKLIST | FCF_NOMOVEWITHOWNER;
    108 
    109         dwWinStyle   &= ~WS_CLIPCHILDREN;
    110 
    111         *hwndFrame = WinCreateStdWindow(hwndParent, dwWinStyle,
    112                                        &dwFrameStyle, WIN32_STDCLASS,
    113                                        "", dwClientStyle, 0, id, &hwndClient);
    114         if(*hwndFrame) {
    115                 if(pszName) {
    116                         WinSetWindowText(*hwndFrame, pszName);
    117                 }
    118                 return hwndClient;
    119         }
    120         dprintf(("OSLibWinCreateWindow: (FRAME) WinCreateStdWindow failed (%x)", WinGetLastError(GetThreadHAB())));
    121         return 0;
    122 #endif
    123101}
    124102//******************************************************************************
     
    135113        *OSWinStyle |= WS_MINIMIZED;
    136114//Done explicitely in CreateWindowExA
    137 #if 1
     115#if 0
    138116  if(dwStyle & WS_VISIBLE_W)
    139117        *OSWinStyle |= WS_VISIBLE;
Note: See TracChangeset for help on using the changeset viewer.