Ignore:
Timestamp:
Oct 13, 1999, 4:24:49 PM (26 years ago)
Author:
sandervl
Message:

lots of changes

File:
1 edited

Legend:

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

    r1263 r1265  
    1 /* $Id: oslibwin.cpp,v 1.25 1999-10-12 20:16:23 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.26 1999-10-13 14:24:25 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    139139    {
    140140      *OSFrameStyle |= FCF_SIZEBORDER;
    141       *borderHeight = *borderWidth = 1;
    142 
     141      *borderHeight = *borderWidth = 2;
    143142    }
    144143    else
     
    579578void OSLibMapWINDOWPOStoSWP(PWINDOWPOS pwpos, PSWP pswp, PSWP pswpOld, HWND hParent, HWND hFrame)
    580579{
     580 BOOL fCvt = FALSE;
     581
    581582   HWND hWnd            = pwpos->hwnd;
    582583   HWND hWndInsertAfter = pwpos->hwndInsertAfter;
     
    625626         y = pswpOld->y;
    626627
    627 //SvL: TEST
    628 #if 0
    629628         if (!((y == 0) && (pswpOld->cy == 0)))
    630629         {
    631630            y = parentHeight - y - pswpOld->cy;
    632631         }
    633 #endif
    634632      }
    635633 
     
    666664//******************************************************************************
    667665//******************************************************************************
    668 BOOL OSLibWinCalcFrameRect(HWND hwndFrame, RECTLOS2 *pRect, BOOL fClient)
    669 {
    670    return WinCalcFrameRect(hwndFrame, (PRECTL)pRect, fClient);
     666BOOL  OSLibWinCalcFrameRect(HWND hwndFrame, RECT *pRect, BOOL fClient)
     667{
     668 BOOL rc;
     669 
     670   WinMapWindowPoints(hwndFrame, HWND_DESKTOP, (PPOINTL)pRect, 2);
     671
     672   rc = WinCalcFrameRect(hwndFrame, (PRECTL)pRect, fClient);
     673   WinMapWindowPoints(HWND_DESKTOP, hwndFrame, (PPOINTL)pRect, 2);
     674
     675   return rc;
    671676}
    672677//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.