[comp.lang.pascal] Need Turbo Vision help: How to detect scroll bar movement

qintar@agora.rain.com (Jim Seymour) (05/03/91)

This is posted for a co-worker.  Please reply via e-mail as I do not
read this newsgroup regularly.  Send mail to qintar@agora.rain.com.

      I am writing a Turbo Vision application using TP 6.0.
      I need to know how to tell what direction the Scroll
      Bar has been moved when clicked on by the mouse.  Whether
      it was a pgup, pgdn, down arrow, or up arrow.  When the
      event record gets to the HandleEvent method it contains
      only evBroadcast ($200) and a KeyCode of cmScrollBarChanged
      ($35).  This does not tell me which way the scroll bar
      has moved only that it has.

      If anybody knows how I can tell which way the scroll bar
      indicator has moved please let me know.

     -Jim Seymour                                qintar@agora.rain.com
     =================================================================
     Cipher Systems, Inc.,    P.O. Box 329,    North Plains, OR  97133