Changeset 4434 for trunk/src


Ignore:
Timestamp:
Oct 5, 2000, 8:37:26 PM (25 years ago)
Author:
sandervl
Message:

GetWindow + z-order bugfixes

Location:
trunk/src/user32
Files:
4 edited

Legend:

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

    r4147 r4434  
    1 /* $Id: dc.cpp,v 1.70 2000-09-02 08:30:09 sandervl Exp $ */
     1/* $Id: dc.cpp,v 1.71 2000-10-05 18:37:25 sandervl Exp $ */
    22
    33/*
     
    630630
    631631        //Query update region
    632 #if 1
    633         HRGN hrgnClip = GpiCreateRegion(pHps->hps, 1, &rectl);
    634 #else
    635632        HRGN hrgnClip = GpiCreateRegion(pHps->hps, 1, &rectlClip);
    636633        WinQueryUpdateRegion(hwndClient, hrgnClip);
    637         dprintfRegion(pHps->hps, hWnd, hrgnClip);
    638         WinQueryVisibleRegion(hwndClient, hrgnClip);
    639         dprintfRegion(pHps->hps, hWnd, hrgnClip);
    640         WinQueryUpdateRegion(hwndClient, hrgnClip);
    641 #endif
    642634        WinValidateRegion(hwndClient, hrgnClip, FALSE);
    643635
  • trunk/src/user32/oslibwin.cpp

    r3803 r4434  
    1 /* $Id: oslibwin.cpp,v 1.82 2000-07-06 21:17:57 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.83 2000-10-05 18:37:25 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    8585  FCData.flCreateFlags = dwFrameStyle;
    8686
    87   dprintf(("WinCreateWindow %x %s %x task %d shell %d classstyle %x winstyle %x", hwndParent, pszName, id, fTaskList, fShellPosition, classStyle, dwWinStyle));
    88 
    89 #if 0
    90   return WinCreateWindow (hwndParent,
    91 //                          TopLevel ? WIN32_STDFRAMECLASS : WIN32_STDCLASS,
    92                           WIN32_STDFRAMECLASS,
    93                           pszName, dwWinStyle, 0, 0, 0, 0,
    94                           Owner, HWND_TOP,
    95                           id, &FCData, NULL);
    96 #else
     87  dprintf(("WinCreateWindow %x %s %x task %d shell %d classstyle %x winstyle %x bottom %d", hwndParent, pszName, id, fTaskList, fShellPosition, classStyle, dwWinStyle, fHWND_BOTTOM));
     88
    9789  return WinCreateWindow (hwndParent,
    9890                          WIN32_STDFRAMECLASS,
    9991                          pszName, dwWinStyle, 0, 0, 0, 0,
    100                           Owner, HWND_TOP,
     92                          Owner, (fHWND_BOTTOM) ? HWND_BOTTOM : HWND_TOP,
    10193                          id, NULL, NULL);
    102 #endif
    10394}
    10495//******************************************************************************
  • trunk/src/user32/win32dlg.cpp

    r4188 r4434  
    1 /* $Id: win32dlg.cpp,v 1.51 2000-09-04 18:23:55 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.52 2000-10-05 18:37:26 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    670670                                      classNameA,
    671671                                      windowNameA,
    672                                       info.style | WS_CHILD | WS_CLIPSIBLINGS,
     672                                      info.style | WS_CHILD,
    673673                                      info.x * xUnit / 4,
    674674                                      info.y * yUnit / 8,
  • trunk/src/user32/win32wbase.cpp

    r4430 r4434  
    1 /* $Id: win32wbase.cpp,v 1.213 2000-10-05 13:47:06 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.214 2000-10-05 18:37:26 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    413413  dwExStyle = cs->dwExStyle;
    414414
    415   hwndLinkAfter = HWND_TOP;
    416 #if 1
    417   if(CONTROLS_IsControl(this, BUTTON_CONTROL) && ((dwStyle & 0x0f) == BS_GROUPBOX))
    418   {
    419         hwndLinkAfter = HWND_BOTTOM;
    420         dwStyle |= WS_CLIPSIBLINGS;
    421   }
    422   else
    423 #endif
    424   if(CONTROLS_IsControl(this, STATIC_CONTROL) && !(dwStyle & WS_GROUP)) {
    425         dwStyle |= WS_CLIPSIBLINGS;
    426   }
     415  hwndLinkAfter = ((cs->style & (WS_CHILD|WS_MAXIMIZE)) == WS_CHILD) ? HWND_BOTTOM : HWND_TOP;
    427416
    428417  /* Increment class window counter */
Note: See TracChangeset for help on using the changeset viewer.