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>mouselng</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MOUSELNG

Syntax:                 MOUSELNG

Use:                    To determine the mouse language.

Parameters:             MOUSE

Returns:                The first character in the sending parameter will
                        have the language number if the mouse driver is
                        present in memory, and garbage if the mouse driver
                        is not present.  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\mouselng
                        . FOXLIB = "MOUSE"
                        . call mouselng with FOXLIB
                        . ?asc(substr(FOXLIB,1,1))
                        . 0
                        . rele modu mouselng

                        From this example, the mouse language is English.
                        Below is a table of all possible outcomes.

                        0 = English
                        1 = French
                        2 = Dutch
                        3 = German
                        4 = Swedish
                        5 = Finnish
                        6 = Spanish
                        7 = Portuguese
                        8 = Italian

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.

See Also: MOUSEDRV MOUSETYP MOUSEVER MOUSERHT MOUSELFT MOUSESHW MOUSEHID MOUSECTR

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