Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 tw_SetKSt( nKey, nStatus )
 ----------------------------------------------------------------------------
     Set the mode of Caps lock, Number lock, Scroll lock or Insert.
     Remember that these functions MAY confuse your BIOS if you aren't
     careful. TSDWIN uses this function to ensure number lock is on
     when using the calculator.

       Arguments:

     KeyMask - N'  Scroll Lock Status           05
                   Number Lock Status           06
                   Caps Lock Status             07
                   Insert Status                08

       Return:

     Scroll Lock Status              16 - If On       0x0010
     Number Lock Status              32 - If On       0x0020
     Caps Lock Status                64 - If On       0x0040
     Insert Status                  128 - If On       0x0080

       Example:

     RetVal := tw_SetKSt( NUMLOCKSTAT, 0 )

     Turns off the number lock.



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