Changeset 1258 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- Oct 12, 1999, 8:14:56 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r1256 r1258 1 /* $Id: oslibwin.cpp,v 1.2 2 1999-10-12 14:47:22sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.23 1999-10-12 18:14:55 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 622 622 y = parentHeight - y - pswpOld->cy; 623 623 } 624 else y = parentHeight - y - cy; 624 625 } 625 626 else y = parentHeight - y - cy; 627 626 628 if (flags & SWP_SIZE) 627 629 { … … 635 637 } 636 638 637 y = parentHeight - y - cy; 638 639 if ((pswpOld->x == x) && (pswpOld->y == y)) 639 if ((pswpOld->x == x) && (pswpOld->y == y)) 640 640 flags &= ~SWP_MOVE; 641 641 … … 738 738 //****************************************************************************** 739 739 //****************************************************************************** 740 BOOL OSLibWinShowScrollBar(HWND hwndParent, HWND hwndScroll, int scrollBar, BOOL fShow) 740 BOOL OSLibWinShowScrollBar(HWND hwndParent, HWND hwndScroll, int scrollBar, 741 BOOL fShow, BOOL fForceChange) 741 742 { 742 743 if(hwndScroll == NULL) { … … 745 746 } 746 747 747 if(fShow != WinIsWindowVisible(hwndScroll) )748 if(fShow != WinIsWindowVisible(hwndScroll) || fForceChange) 748 749 { 749 750 WinSetParent(hwndScroll, fShow ? hwndParent : HWND_OBJECT, FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.