Changeset 1693 for trunk/src/user32/scroll.cpp
- Timestamp:
- Nov 10, 1999, 6:11:31 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/scroll.cpp
r1667 r1693 1 /* $Id: scroll.cpp,v 1. 19 1999-11-09 17:07:22cbratschi Exp $ */1 /* $Id: scroll.cpp,v 1.20 1999-11-10 17:11:30 cbratschi Exp $ */ 2 2 /* 3 3 * Scrollbar control … … 1605 1605 { 1606 1606 Win32BaseWindow *window = Win32BaseWindow::GetWindowFromHandle(hwnd); 1607 BOOL createHorz = FALSE,createVert = FALSE; 1607 1608 1608 1609 if (!window) … … 1613 1614 } 1614 1615 1615 if (window->getStyle() & (WS_HSCROLL | WS_VSCROLL)) 1616 { 1617 BOOL rc; 1618 1619 if (nBar == SB_HORZ || nBar == SB_BOTH) 1620 rc = OSLibWinShowScrollBar(window->getOS2FrameWindowHandle(), 1621 window->getHorzScrollHandle(), 1622 OSLIB_HSCROLL, fShow); 1623 1624 if (nBar == SB_VERT || (rc == TRUE && nBar == SB_BOTH)) 1625 rc = OSLibWinShowScrollBar(window->getOS2FrameWindowHandle(), 1626 window->getVertScrollHandle(), 1627 OSLIB_VSCROLL, fShow); 1628 return rc; 1629 } 1616 return window->showScrollBars(nBar == SB_HORZ || nBar == SB_BOTH,nBar == SB_VERT || nBar == SB_BOTH,fShow); 1630 1617 } 1631 1618
Note:
See TracChangeset
for help on using the changeset viewer.