Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Mouse interface routines - <b>brsetscroll()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 BRSETSCROLL()
 Turn scroll bars on/off in MBROWSE
------------------------------------------------------------------------------
 Syntax
      BRIGNOREMOUSE( <nType>, <lOn> ) -> <lCurStatus>
 Arguments
     <nType> - Either HORIZSCROLL or VERTSCROLL which are defined
               in MBROWSE.CH which signifies which scroll bar you are
               making the change or request about.
     <lOn> - logical for state of scroll bar .T. = scroll bar is to
             be used, .F. = scroll bar is not to be used. If this argument
             is absent then the routine returns the current status.
 Returns
     <lCurStatus> - The current setting of use scroll bar flag.
 Description
     This routine allows one to turn on or off the use of either of the
     scroll bars used within MBROWSE. This routine must be called prior
     to running MBROWSE since it determines how the browse is built which
     in turn determines its behavior.

     If the second argument is missing then this routine simply returns
     the current setting of the appropriate flag.
 Examples
     lCurHoriz=BRSetScroll(HORIZ_SCROLL,.T.)

 Source: MOUSBROW.PRG

 Author: Leo Letendre

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson