How to run screen saver after less than 60 sec ???

G

Guest

I changed registry value ScreenSaveTimeOut
(HKEY_CURRENT_USER\Control Panel\Desktop\)
to 10, but it seems that every value smaller than 60 is ignored,
and screen saver does't run at all than this value is less than 60.

Is it possible to run screen saver after 5s for example ?
(I know how to run it manually, so don't suggest that solution)

thanks
Vilius
 
P

paulmd

Vilius said:
I changed registry value ScreenSaveTimeOut
(HKEY_CURRENT_USER\Control Panel\Desktop\)
to 10, but it seems that every value smaller than 60 is ignored,
and screen saver does't run at all than this value is less than 60.

Is it possible to run screen saver after 5s for example ?
(I know how to run it manually, so don't suggest that solution)

thanks
Vilius

I don't think so, but WHY?
 
G

Guest

I found solution myself.
I called SDK function
SystemParametersInfo( SPI_SETSCREENSAVETIMEOUT, 10, 0, 0 );
second parameter indicates time.
And it works, not limited to 60s !!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top