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_mask()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MS_MASK()
   Sets the call mask for mouse subroutines.

   Syntax
         MS_MASK(nMaskByte)

   Arguments
         +---------------------------------+
         |nMaskByte|Bit Description        |
         ----------+-----------------------|
         |0        |Cursor position changed|
         |1        |Left button pressed    |
         |2        |Left button released   |
         |3        |Right button pressed   |
         |4        |Right button released  |
         |5        |Middle button pressed  |
         |6        |Middle button released |
         |7-15     |not used               |
         +---------------------------------+

   Returns
         None

   Description
         The mouse hardware interrupts automatically stop execution of the
         program and call the specified subroutine whenever one of the
         conditions defined by the call mask occurs. When the subroutine
         finishes, the program continues execution at the point of
         interruption.

         This function will allow the programmer to disable specified
         subroutines. If the corresponding bit is off, the mouse action will
         be ignored by the system.

   Examples

         *To disable the right mouse button
          MS_MASK(103) && BITS 1100111

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

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