Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_mbutrel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_MBUTREL()
 Get mouse button release information
------------------------------------------------------------------------------

 Syntax

      FT_MBUTREL( nButton [, @nButRel [, @nX [, @nY] ] ]) -> nBStat

 Arguments

     <nButton> is the mouse button number
               0 - Left   Button
               1 - Right  Button
               2 - Middle Button [if applicable]

    <nButRel> is the number of times the specified button was released
              since the last call to this routine. PASSED BY REFERENCE.

    <nX> is the X position of the cursor when the last release occurred.
              PASSED BY REFERENCE.

    <nY> is the Y position of the cursor when the last release occurred.
              PASSED BY REFERENCE.

 Returns

     <nBStat>  - an integer representing button release status
                 0 - None
                 1 - Left
                 2 - Right
                 3 - Middle

 Description

     This function returns the release status of the mouse buttons and the
     coordinates of the last release.

 Examples

     IF( FT_MBUTREL( 0 ) == 1 )
        ? "Left button released"
     ENDIF

 Source: MOUSE1.PRG

 Author: Leo Letendre

See Also: FT_MBUTPRS() FT_MDBLCLK()

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