Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a screen saver
Message
De
24/04/1998 09:30:56
 
 
À
24/04/1998 09:11:13
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:
00094646
Vues:
37
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform