Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide Windows Task Bar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00512043
Message ID:
00513097
Vues:
18
PMFJI, but this only works on Win9X machines (possibly ME too). It does not work on NT/2000.

>Use this function:
>
>=Disable_Ctrl_Esc(.T.)
>
>FUNCTION Disable_Ctrl_Esc(SPI_SCREENSAVERUNNING)
>SPI_SCREENSAVESTATUS=SPI_SCREENSAVERUNNING
>DECLARE LONG SystemParametersInfo IN WIN32API LONG, LONG, LONG, LONG
>=SystemParametersInfo( 97,SPI_SCREENSAVESTATUS, 1, 0)
>RETURN
>ENDFUNC
>
>to avoid the user to close your program, in the config.fpw file, write:
>
>NoClose = on
>
>If you are worry about rebooting (It´s only posible pressing reset button), you can set your program in regedit:
>
>HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Run
>
>If you establish your program here, you force it to auto run on startup.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform