Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a screen saver
Message
From
24/04/1998 09:30:56
 
 
To
24/04/1998 09:11:13
Ray Watson
A Certified Electronics Co
Knoxville, Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093980
Message ID:
00094646
Views:
36
Alright, alright.

I just did a test in Delphi with this code and guess what, it worked!

// Start the default screensaver
//
SendMessage(Application.Handle,WM_SYSCOMMAND,SC_SCREENSAVE,0);
// Let it run a bit
//
Sleep(1000);
// Now stop it
//
SendMessage(Application.Handle,WM_SYSCOMMAND,SC_SCREENSAVE,1);

Now George, do you think that you can translate this to VFP? I had a problem with the return value because it varies and the WM_SYSCOMMAND param in VFP.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform