Changeset 1529


Ignore:
Timestamp:
Oct 31, 1999, 5:44:05 PM (26 years ago)
Author:
dengert
Message:

fix BS_GROUPBOX controls

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/changelog

    r1527 r1529  
    1  /* $Id: changelog,v 1.389 1999-10-31 01:15:17 sandervl Exp $ */
     1 /* $Id: changelog,v 1.390 1999-10-31 16:44:00 dengert Exp $ */
     2
     3 99-10-31: Daniela Engert <dani@ngrt.de>
     4        - USER32: add WS_CLIPSIBLINGS to BS_GROUPBOX style controls (fixes
     5                  missing buttons in SOL)
    26
    37 99-10-31: Sander van Leeuwen <sandervl@xs4all.nl>
    48        - USER32: Remove CS_SYNCPAINT class flag -> fixes VPBuddy resize + paint
    5                   Put back methods that belong in the Win32Dialog class.
    6                   (MapDialogRect, DIALOG_Init, several x & y unit helpers)
    7                   -> fixes calc window controls.
     9                  Put back methods that belong in the Win32Dialog class.
     10                  (MapDialogRect, DIALOG_Init, several x & y unit helpers)
     11                  -> fixes calc window controls.
    812
    913 99-10-30: Christoph Bratschi <cbratschi@datacomm.ch>
  • trunk/src/user32/window.cpp

    r1516 r1529  
    1 /* $Id: window.cpp,v 1.28 1999-10-30 10:55:16 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.29 1999-10-31 16:44:05 dengert Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    8787    }
    8888#endif
     89    if (!strcmpi(className, "BUTTON") && ((style & 0x0f) == BS_GROUPBOX))
     90      style |= WS_CLIPSIBLINGS;
     91
    8992    /* Create the window */
    9093    cs.lpCreateParams = data;
     
    175178                  dprintf(("CreateWindowEx32W: bad class name %04x\n", LOWORD(className)));
    176179          }
    177           else    dprintf(("CreateWindowEx32W: bad class name "));
     180          else    dprintf(("CreateWindowEx32W: bad class name "));
    178181
    179182          SetLastError(ERROR_INVALID_PARAMETER);
     
    185188    }
    186189    else dprintf(("CreateWindowExW: class %d parent %x (%d,%d) (%d,%d), %x %x", className, parent, x, y, width, height, style, exStyle));
     190
     191    if (!strcmpi(className, L"BUTTON") && ((style & 0x0f) == BS_GROUPBOX))
     192      style |= WS_CLIPSIBLINGS;
    187193
    188194    /* Create the window */
Note: See TracChangeset for help on using the changeset viewer.