Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a screen saver
Message
 
À
22/04/1998 10:05:51
Ray Watson
A Certified Electronics Co
Knoxville, Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00093980
Message ID:
00094015
Vues:
47
>Hi,
>I have a application (VFP5) that reads a message dbf and uses MESSAGEBOX to display any un-read messages, but if the users screen saver is active the user does not see the message until he accesses his computer.
>
>Is there any way to stop the screen saver from within VFP5?
>
>Thanks in advance
>Ray

Ray,
If you want to 'disable' the screen saver (remove it from the system setup), you could change the registry setting for the timeout via Win32API. When the messagebox returns to VFP, reset this timeout setting. I don't know whether this will work if the screen saver is active when the setting is changed. Worth a try though.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform