home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / t / tw21l.exe / HOTHLP.DOC < prev    next >
Text File  |  1993-02-06  |  2KB  |  45 lines

  1.  
  2.  
  3.               twBRBrowse()  Mouse Hot Spots
  4.  
  5.  
  6.         If you are using the built in mouse support
  7.         in TSDWIN, you may want to extend it by
  8.         using Mouse Hot Spots. A hot spot is a
  9.         region on the screen which is checked for
  10.         a mouse action and any suitable function
  11.         performed whenever the spot is active.
  12.  
  13.         The IMPORTANT thing to rememeber when
  14.         using mouse hot spots, is the the
  15.         programmer is responsible for handling the
  16.         memory they use. If a spot is created, it
  17.         MUST be released when its purpose has been
  18.         served.
  19.  
  20.         The general format for creating and using
  21.         the spots is:
  22.  
  23.         nHandle := twBRHotSpot( nT, nL, nB, nR, bAction, ;
  24.                                 nButton, nPause, lRelease )
  25.  
  26.         Where: nT, nL, nB, nR - Absolute Screen
  27.                                 coordinates of
  28.                                 Hot Spot.
  29.                       bAction - Code block to be
  30.                                 executed.
  31.                       nButton - Mouse button:
  32.                                   0 = left
  33.                                   1 = right
  34.                                   3 = both
  35.                        nPause - Default delay time
  36.                                 for mouse action.
  37.                      lRelease - Default release
  38.                                 time for double
  39.                                 clicks.
  40.  
  41.         AND: After exit from the browse:
  42.  
  43.         twBRRemHotSpot( nHandle )
  44.  
  45.