Ignore:
Timestamp:
Feb 7, 2000, 3:30:18 PM (26 years ago)
Author:
sandervl
Message:

Fix for DCX_INTERSECTRGN in GetDCEx

File:
1 edited

Legend:

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

    r2666 r2676  
    1 /* $Id: oslibwin.cpp,v 1.67 2000-02-05 19:45:16 cbratschi Exp $ */
     1/* $Id: oslibwin.cpp,v 1.68 2000-02-07 14:30:18 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    5151HWND OSLibWinCreateWindow(HWND hwndParent,ULONG dwWinStyle,
    5252                          char *pszName, HWND Owner, ULONG fHWND_BOTTOM, HWND *hwndFrame,
    53                           ULONG id, BOOL fTaskList,BOOL fShellPosition,BOOL saveBits)
     53                          ULONG id, BOOL fTaskList,BOOL fShellPosition,
     54                          int classStyle)
    5455{
    5556 HWND  hwndClient;
    5657
    57   dprintf(("WinCreateWindow %x %s", hwndParent, pszName));
     58  dprintf(("WinCreateWindow %x %s %x task %d shell %d classstyle %x", hwndParent, pszName, id, fTaskList, fShellPosition, classStyle));
    5859
    5960  if(pszName && *pszName == 0) {
     
    7374  FRAMECDATA FCData = {sizeof (FRAMECDATA), 0, 0, 0};
    7475
     76  if(classStyle & CS_SAVEBITS_W) dwWinStyle |= WS_SAVEBITS;
     77  if(classStyle & CS_PARENTDC_W) dwWinStyle |= WS_PARENTCLIP;
     78
    7579  dwClientStyle = dwWinStyle & ~(WS_TABSTOP | WS_GROUP | WS_CLIPSIBLINGS);
    76   if (saveBits) dwWinStyle |= WS_SAVEBITS;
    7780
    7881  dwFrameStyle |= FCF_NOBYTEALIGN;
     
    9396
    9497  if (*hwndFrame) {
    95     hwndClient = WinCreateWindow (*hwndFrame,saveBits ? WIN32_STDCLASS2:WIN32_STDCLASS,
     98    hwndClient = WinCreateWindow (*hwndFrame, (classStyle & CS_SAVEBITS_W) ? WIN32_STDCLASS2:WIN32_STDCLASS,
    9699                                  NULL, dwClientStyle, 0, 0, 0, 0,
    97100                                  *hwndFrame, HWND_TOP, FID_CLIENT, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.