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

Syntax:                 MOUSERHT

Use:                    To determine the status of the right mouse button.
                        Use this command only when you want to test the
                        functionality of the right mouse button.  Have the
                        end-user hold down the right mouse button on any
                        non-responsive (i.e. blank area of the screen)
                        section of the computer display.

Parameters:             MOUSE

Returns:                The first character in the sending parameter will
                        have a "Y" if the right mouse button is down, and
                        a "N" if the right mouse button is not down.  If you
                        did not pass the parameter correctly (e.g. FOXLIB
                        = "ZOUSE"), your sending parameter will be
                        unchanged.

Example:                . load c:\FOXLIB\mousedrv
                        . FOXLIB = "MOUSE"
                        . call mousedrv with FOXLIB
                        . ?substr(FOXLIB,1,1) = "Y"
                        .T.
                        . rele modu mousedrv

                        . load c:\FOXLIB\mouserht
                        . FOXLIB = "MOUSE"
                        . call mouserht with FOXLIB
                        . ?substr(FOXLIB,1,1) = "Y"
                        .T.
                        . rele modu mouserht

                        From this example, the right mouse button is down.

Notes:                  First determine if the mouse driver has been loaded
                        into memory using the FOXLIB command "MOUSEDRV"
                        before using this command.  Otherwise, you will get
                        unwanted results.

                        This command only works with FoxPro since it is the
                        only FOX DBMS that comes with mouse support.

See Also: MOUSEDRV MOUSETYP MOUSEVER MOUSELNG MOUSELFT MOUSESHW MOUSEHID MOUSECTR

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