Ignore:
Timestamp:
Dec 5, 1999, 5:37:59 PM (26 years ago)
Author:
sandervl
Message:

tasklist changes

File:
1 edited

Legend:

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

    r1849 r1983  
    1 /* $Id: oslibwin.cpp,v 1.49 1999-11-26 17:06:08 cbratschi Exp $ */
     1/* $Id: oslibwin.cpp,v 1.50 1999-12-05 16:37:57 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    5454HWND OSLibWinCreateWindow(HWND hwndParent, ULONG dwWinStyle, ULONG dwFrameStyle,
    5555                          char *pszName, HWND Owner, ULONG fHWND_BOTTOM, HWND *hwndFrame,
    56                           ULONG id)
     56                          ULONG id, BOOL fTaskList)
    5757{
    5858 HWND  hwndClient;
     
    8181
    8282  dwFrameStyle |= FCF_NOBYTEALIGN;
    83   if (hwndParent == HWND_DESKTOP && dwFrameStyle & FCF_TITLEBAR) {
     83  if(fTaskList)
     84  {
    8485    dwFrameStyle |= FCF_TASKLIST | FCF_NOMOVEWITHOWNER;
    8586  }
     
    10531054//******************************************************************************
    10541055//******************************************************************************
    1055 void OSLibSetWindowStyle(HWND hwnd, ULONG dwStyle)
     1056void OSLibSetWindowStyle(HWND hwnd, ULONG dwStyle, BOOL fTaskList)
    10561057{
    10571058  ULONG OSWinStyle, OSFrameStyle, borderWidth, borderHeight,dwExStyle;
    10581059
    10591060  OSLibWinConvertStyle(dwStyle, &dwExStyle, &OSWinStyle, &OSFrameStyle, &borderWidth, &borderHeight);
     1061
     1062  if(fTaskList)
     1063  {
     1064    OSFrameStyle |= FCF_TASKLIST | FCF_NOMOVEWITHOWNER;
     1065  }
    10601066
    10611067//  OSWinStyle = OSWinStyle & ~(WS_TABSTOP | WS_GROUP | WS_CLIPCHILDREN | WS_CLIPSIBLINGS);
Note: See TracChangeset for help on using the changeset viewer.