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_kbflags() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_KBFLAGS()

 DESCRIPTION

 C_KBFLAGS() determines the status of various keyboard flags
 including the Shift, Alt, Ctrl, Num Lock, Caps Lock, Scroll Lock,
 and Insert keys.

 SYNTAX

 C_KBFLAGS()

 PARAMETERS

 There are no parameters.

 RETURNS

 C_KBFLAGS() returns a character string containing the status of the
 various keyboard flags.  The following are the values returned in
 the string.

 CODE   DESCRIPTION
 ----   -----------
 R      Right shift key down
 L      Left shift key down
       Ctrl key down
 A      Alt key down
 S      Scroll Lock on
 N      Num Lock on
 C      Caps Lock on
 I      Insert on (not the same as Clipper's READINSERT())

 EXAMPLES

 c_kbflags() --> NC      && num and caps lock on
 c_kbflags() --> NC&& num & caps lock on, ctrl & alt down
 c_kbflags() -->         && nothing on or down


See Also: C_KBEFLAGS() C_KEYBOARD() C_ISEXTKB()

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