Ignore:
Timestamp:
Jan 2, 2000, 8:30:47 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2291 r2292  
    1 /* $Id: oslibwin.cpp,v 1.30 2000-01-01 17:07:41 cbratschi Exp $ */
     1/* $Id: oslibwin.cpp,v 1.31 2000-01-02 19:30:43 cbratschi Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    5252//******************************************************************************
    5353//******************************************************************************
    54 HWND OSLibWinCreateWindow(HWND hwndParent, ULONG dwWinStyle, ULONG dwFrameStyle,
     54HWND OSLibWinCreateWindow(HWND hwndParent,ULONG dwWinStyle,
    5555                          char *pszName, HWND Owner, ULONG fHWND_BOTTOM, HWND *hwndFrame,
    5656                          ULONG id, BOOL fTaskList)
     
    5858 HWND  hwndClient;
    5959
    60   dprintf(("WinCreateWindow %x %x %x %s", hwndParent, dwWinStyle, dwFrameStyle, pszName));
     60  dprintf(("WinCreateWindow %x %x %x %s", hwndParent, pszName));
    6161
    6262  if(pszName && *pszName == 0) {
     
    6969        Owner = HWND_DESKTOP;
    7070  }
    71   ULONG dwClientStyle;
     71  ULONG dwClientStyle = 0;
     72  ULONG dwFrameStyle = 0;
    7273#if 1
    7374
    7475  BOOL TopLevel = hwndParent == HWND_DESKTOP;
    75 //  if(dwFrameStyle & FCF_TITLEBAR)
    76 //      TopLevel = TRUE;
    7776
    7877  FRAMECDATA FCData = {sizeof (FRAMECDATA), 0, 0, 0};
     
    9493                                hwndParent, HWND_TOP,
    9594                                id, &FCData, NULL);
     95
    9696  if (*hwndFrame) {
    9797    hwndClient = WinCreateWindow (*hwndFrame, WIN32_STDCLASS,
    9898                                  NULL, dwClientStyle, 0, 0, 0, 0,
    9999                                  *hwndFrame, HWND_TOP, FID_CLIENT, NULL, NULL);
    100     if (hwndClient != NULLHANDLE)
    101       WinSendMsg (*hwndFrame, WM_UPDATEFRAME, 0, 0);
    102 
    103100    return hwndClient;
    104101  }
Note: See TracChangeset for help on using the changeset viewer.