Resources for IT Professionals > Forums Home > Learning Forums > Ramp Up > Screen Rectangle Glitch in Screen Saver
Ask a questionAsk a question
 

General DiscussionScreen Rectangle Glitch in Screen Saver

  • Monday, October 19, 2009 12:18 AMLane the Great Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello. Every one this is my first time using a forum. A problem I'm having is with a screen saver I'm building. What it's supposed to do is mainly prevent Screen Burn by creating rectangles on the screen that randomly flips through colors. It can also play music selected by the user. The configuration dialog configures the amount of rectanges on both X and Y axes of the screen, the music file to play, and whether to loop the audio or not. It's perfect acept for one flaw. After it displays a specif amount of squares it goes completely white. The more squares the user picks the sooner it goes blank. The audio still works but the screen goes blank! I'm working on this in the C Language, using an older version of Dev-C++ compiler. I've tested it on Windows Vista and Windows Xp and got the same results. If any one could help I'd be very much obliged.

All Replies