Ignore:
Timestamp:
Oct 7, 1999, 11:28:02 AM (26 years ago)
Author:
sandervl
Message:

EB's fixes + scrollbar changes

File:
1 edited

Legend:

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

    r1091 r1159  
    1 /* $Id: scroll.cpp,v 1.4 1999-09-29 08:27:15 sandervl Exp $ */
     1/* $Id: scroll.cpp,v 1.5 1999-10-07 09:28:01 sandervl Exp $ */
    22/*
    33 * Scrollbar control
     
    15541554
    15551555        if(nBar == SB_HORZ || nBar == SB_BOTH)
    1556             rc = OSLibWinShowScrollBar(window->getOS2FrameWindowHandle(), OSLIB_HSCROLL, fShow);
     1556            rc = OSLibWinShowScrollBar(window->getOS2FrameWindowHandle(),
     1557                                       window->getHorzScrollHandle(),
     1558                                       OSLIB_HSCROLL, fShow);
    15571559
    15581560        if(nBar == SB_VERT || ( rc == TRUE && nBar == SB_BOTH))
    1559             rc = OSLibWinShowScrollBar(window->getOS2FrameWindowHandle(), OSLIB_VSCROLL, fShow);
     1561            rc = OSLibWinShowScrollBar(window->getOS2FrameWindowHandle(),
     1562                                       window->getVertScrollHandle(),
     1563                                       OSLIB_VSCROLL, fShow);
    15601564
    15611565        return rc;
Note: See TracChangeset for help on using the changeset viewer.