Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>ms_button()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MS_BUTTON()
   Indicates the currently pressed mouse buttons.

   Syntax
         nNum = MS_BUTTON()

   Arguments
         None

   Returns
         nNum        Returns which buttons are being pressed.
            +-------------------------------+
            | MOUSE BUTTON RETURN VALUES    |
            --------------------------------|
            | Value | Flag description      |
            --------+-----------------------|
            |   0   | No mouse event        |
            |   1   | Left button           |
            |   2   | Right button          |
            |   3   | Left & right button   |
            |   4   | Middle button         |
            |   5   | Middle & left button  |
            |   6   | Middle & right button |
            |   7   | All three buttons     |
            +-------------------------------+

   Description
         This function is like the KP_BUTTON() function under KEY_PRESS(), but
         it doesn't need to wait for a key press. It returns what buttons are
         being pressed NOW.

See Also: KEY_PRESS()

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