Ignore:
Timestamp:
Jun 13, 2001, 10:19:34 AM (24 years ago)
Author:
sandervl
Message:

Corrected position of PM titlebar control

File:
1 edited

Legend:

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

    r5969 r5989  
    1 /* $Id: oslibwin.cpp,v 1.98 2001-06-12 08:02:35 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.99 2001-06-13 08:19:34 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    171171      swp[i].x  = pRect->xLeft;
    172172      swp[i].y  = pRect->yBottom;
     173      if(pRect->yTop - pRect->yBottom > minmaxheight) {
     174          swp[i].y += pRect->yTop - pRect->yBottom - minmaxheight;
     175      }
    173176      swp[i].cx = pRect->xRight - pRect->xLeft;
    174177      if(WinWindowFromID(hwndFrame, FID_MINMAX)) {
    175178          swp[i].cx -= (minmaxwidth + minmaxwidth/2);
    176179      }
    177       swp[i].cy = pRect->yTop - pRect->yBottom;
     180      swp[i].cy = minmaxheight;
    178181      swp[i].fl = SWP_SIZE | SWP_MOVE | SWP_SHOW;
    179182      dprintf(("FID_TITLEBAR (%d,%d)(%d,%d)", swp[i].x, swp[i].y, swp[i].cx, swp[i].cy));
Note: See TracChangeset for help on using the changeset viewer.