Querying A Scroll Bar
SBTOUCH checks whether the scroll bar SCRBAR was touched. If the position has changed, the new position is written to SCRBAR, the scroll bar is drawn and the function returns 1. If a button was pressed, the function returns 1 for the Up and 2 for the Down button. If nothing was changed, 0 is returned.
SBDRAW and SBTOUCH replace the OSL functions GUI_SCR and GUI_QSCR!() and are totally compatible with them.