Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_prtscr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_PRTSCR()
 Enable or disable the Print Screen key
------------------------------------------------------------------------------

 Syntax

      FT_PRTSCR( [ <lSetStat> ] ) -> lCurStat

 Arguments

     <lSetStat> set to .T. will enable the Print Screen key,
     .F. will disable it.  If omitted, leaves status as is.

 Returns

     The current state: .T. if enabled, .F. if disabled.

 Description

     This function is valuable if you have a need to disable the
     printscreen key.  It works by fooling the BIOS into thinking that
     a printscreen is already in progress.  The BIOS will then refuse
     to invoke the printscreen handler.

 Examples

     FT_PRTSCR( .F. )       && Disable the printscreen key
     FT_PRTSCR( .T. )       && Enable the printscreen key
     MemVar := FT_PRTSCR()  && Get the current status

 Source: PRTSCR.C

 Author: Ted Means

See Also: FT_CAPLOCK() FT_CTRL() FT_NUMLOCK() FT_SHIFT() FT_ALT()

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