Re: Why Does Child Window Disappear?
- Posted by "C. K. Lester" <cklester at yahoo.com> Jan 22, 2003
- 411 views
> > > Windows doesn't like busy-loops like your "pause" function. You are > > > needlessing spinning away doing nothing but chewing CPU time that could > > > be used to draw your window properly. Try using a timer... > > > > Look at this code... No "busy-loops." How else would you program it so that the > > child window SHOWS UP and is displayed by Winblows while the counter increases? > > Smaller for loop and a sleep(x)? What if I can't go smaller? What if I'm doing 10000 steps and want to report on each step? The point is, I don't care what I'm having to do, Windows needs to display the stuff properly! Or I need to know what to do so it is displayed properly...