Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Password screen saver like ocx
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00393899
Message ID:
00615627
Vues:
15
>George
>
>That is an interesting idea that may work. Their argument with the screen saver was that someone else could still get into the application without logging in since it would still be running.
>
>Do you have a sample of how to make the call to see if the screen saver is running? I can try that approach and see if they bite.
>
>Thanks

Kirk,

This should do it, but it's a bit tough for me to test. You can't manually start the screen saver (at least through the windows shell). Windows itself has to start it.
#define SPI_GETSCREENSAVERRUNNING 114
DECLARE SHORT SystemParametersInfo IN Win32API;
  INTEGER uiAction,	SHORT uiParam,;
  SHORT @pvParam, INTEGER fWinIni
lnvparm = 0
lnresult = SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @lnvparm, 0)
If the value returned by lnvparm is not zero, then the screen saver is running.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform