Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a screen saver
Message
 
To
22/04/1998 10:05:51
Ray Watson
A Certified Electronics Co
Knoxville, Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093980
Message ID:
00094015
Views:
46
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform