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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement