Results 1 to 2 of 2

Thread: Turn off the screen saver

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Adelaide - Australia
    Posts
    150

    Thumbs up

    I have a TV Tuner Card in my computer and when the screensaver comes up while I am watching TV it is very annoying. I dont want to turn off the screensaver completly, just while the TV is on. I can set up an event when the TV is turned on and off but I cant reset the time for the screensaver.
    I modified the time in the registry but windows needed to be restarted for that to take effect. Is there a way to turn off the SS and then back on again via the API etc.

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    I don't know if this is the solution you are looking for...but how about setting the cursor position to 0,0 and moving it to 0,10 every minute or so. That would prevent the screensaver from starting up.
    Code:
    Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long
    
    'Place these events so they occur every minute by using a timer...or using the Sleep API
    SetCursorPos 0, 10
    SetCursorPos 0, 0

    Gl,
    D!m
    Dim

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width