Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_caplock() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_CAPLOCK()

 DESCRIPTION

 C_CAPLOCK() returns the current status of the keyboard CAPS LOCK
 key and can set the key on or off.

 SYNTAX

 C_CAPLOCK([key_toggle])

 PARAMETERS

 key_toggle (L) indicates whether the key should be set on or off.
 Specify true (.T.) to set the key on, or false (.F.) to set the key
 off.  If key_toggle is not specified, C_CAPLOCK() just returns the
 current status.

 RETURNS

 C_CAPLOCK() returns the current status of the CAPS LOCK key; true
 (.T.) if the key is on or false (.F.) if the key is off.

 EXAMPLES

 && Get the current cap lock key status, then set the key on
 m_status = c_caplock(.t.)
 ...
 ...
 && Now set the key back to its previous status
 c_caplock(m_status)


See Also: C_NUMLOCK() C_SCRLOCK() C_INSERT() C_KBFLAGS() C_KBEFLAGS()

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