|
-
October 20th, 1999, 05:35 AM
#1
change screensaver
i would like to know how do i enable and disable screensaver and monitor power off through vb project.
-
October 20th, 1999, 06:11 AM
#2
Re: change screensaver
the SystemParametersInfo API allows you to enable/disable screensaver.
use the SPI_SETSCREENSAVEACTIVE as uiAction parameter and uiParam to True/False.
-
October 20th, 1999, 07:09 AM
#3
Re: change screensaver
SystemparametersInfo has also a few uiAction values that you can use for dealing with power off issues:
SPI_SETPOWEROFFACTIVE
SPI_SETPOWEROFFTIMEOUT
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|