Screen turns black before running screen saver code

  • Thread starter Thread starter David085789456789
  • Start date Start date
D

David085789456789

Guest
Hello, I want to create a screen saver which will run only during night (from 20:00 to 06:00). So my code looks like this:

  1. Check time and if it is a day, exit.
  2. Run the Screen Saver Form

During the night everything is ok, but during the day, after specific time of inactivity, the screen turns black, then it runs the condition, the result is exiting the screen saver and then it show the desktop again.

My question is, why the screen turns black before running the screensaver? In the app of the screensaver there is nothing which should show black screen.

Continue reading...
 
Back
Top