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_reset()</b> c_exam03 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MS_RESET()                                                          C_EXAM03
   Returns the number of buttons on the mouse.

   Syntax
         nNumOfButtons = MS_RESET()

   Arguments
         None

   Returns
         nNumOfButtons       Returns the number of buttons found on the mouse.

   Description
         MS_RESET() is used to determine if mouse is installed and how many
         buttons are available on the mouse. If 0 is returned, then no mouse
         is installed and program should proceed accordingly.

   Examples

         m_buttons = MS_RESET() 
         IF m_buttons = 0 
            ? 'No mouse driver installed!'
            QUIT 
         ENDIF

See Also: MS_HALT() MS_MASK() MS_MSTATE() MS_REPEAT()

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