Ignore:
Timestamp:
Oct 12, 1999, 8:14:56 PM (26 years ago)
Author:
sandervl
Message:

Lots of changes again

File:
1 edited

Legend:

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

    r1256 r1258  
    1 /* $Id: oslibwin.cpp,v 1.22 1999-10-12 14:47:22 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.23 1999-10-12 18:14:55 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    622622            y = parentHeight - y - pswpOld->cy;
    623623         }
     624         else     y = parentHeight - y - cy;
    624625      }
    625 
     626      else     y = parentHeight - y - cy;
     627 
    626628      if (flags & SWP_SIZE)
    627629      {
     
    635637      }
    636638
    637       y = parentHeight - y - cy;
    638 
    639       if ((pswpOld->x == x) && (pswpOld->y == y))
     639       if ((pswpOld->x == x) && (pswpOld->y == y))
    640640         flags &= ~SWP_MOVE;
    641641
     
    738738//******************************************************************************
    739739//******************************************************************************
    740 BOOL OSLibWinShowScrollBar(HWND hwndParent, HWND hwndScroll, int scrollBar, BOOL fShow)
     740BOOL OSLibWinShowScrollBar(HWND hwndParent, HWND hwndScroll, int scrollBar,
     741                           BOOL fShow, BOOL fForceChange)
    741742{
    742743   if(hwndScroll == NULL) {
     
    745746   }
    746747
    747    if(fShow != WinIsWindowVisible(hwndScroll))
     748   if(fShow != WinIsWindowVisible(hwndScroll) || fForceChange)
    748749   {
    749750         WinSetParent(hwndScroll, fShow ? hwndParent : HWND_OBJECT, FALSE);
Note: See TracChangeset for help on using the changeset viewer.