Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 RAT_RIGHTB() Determines if the right mouse button has been
 pressed

 Returns
 <lHasBeenPressed> => right mouse button has been
 pressed

 Syntax
 RAT_RIGHTB()

 Description
 This returns .t. if the right button has been pressed
 since last call to this function. Row and column are recorded
 for reference by rat_rowr() and rat_colr().

 Examples
  if rat_rightb()

    ?"While you were out:"

    ?"Left button was depressed at"

    ??rat_rowr(),rat_colr()

  endif

 Notes:
 This is different from RAT_RBHD() in that RAT_RBHD()
 is a 'right now' function - determining if the button IS
 depressed, whereas this function determines if the button HAS
 been depressed.

 Source: S_MOUSE.ASM

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