R
RAFAAJ2000
Hi,
I am trying to turnoff a screensaver as soon as it kicks off.
I know how to detect if a screen saver is currently running via
SPI_GETSCREENSAVERRUNNING but I can't seem to STOP it once it has kicked off
programmatically.
I have tried simulating a Mouse Move or SendKey and even using the
SendMessage with the WM_CLOSE Msg but no luck !
Actually, I ma not sure about this, but it looks as if no code is executed
once the screensaver kicks off as the lines of code subsequent to the
screensaver starting don't execute !
I am doing this in an XL macro under XL2002 WIN XP.
Any help on this ?
Regards.
I am trying to turnoff a screensaver as soon as it kicks off.
I know how to detect if a screen saver is currently running via
SPI_GETSCREENSAVERRUNNING but I can't seem to STOP it once it has kicked off
programmatically.
I have tried simulating a Mouse Move or SendKey and even using the
SendMessage with the WM_CLOSE Msg but no luck !
Actually, I ma not sure about this, but it looks as if no code is executed
once the screensaver kicks off as the lines of code subsequent to the
screensaver starting don't execute !
I am doing this in an XL macro under XL2002 WIN XP.
Any help on this ?
Regards.