Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Password screen saver like ocx
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00393899
Message ID:
00615627
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform