Re: Win32Lib: repaint screen on move 2nd window
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Sep 04, 2000
- 440 views
Skoda, My problem is in knowing how to *tell* it that it needs to be repainted, that's what I can't figure out how to do. I can't use "onClose" (or at least I *think* I can't), because the windows aren't "mine", they are other programs that my program has caused to run. Dan ----- Original Message ----- From: "Skoda" <tone.skoda at SIOL.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Monday, September 04, 2000 1:58 AM Subject: Re: Win32Lib: repaint screen on move 2nd window > Whatever you put in onPaint, it will be executed when window needs to paint > itself; if some other window covered it. You can even get the rectangle of > window that needs to be repainted, if you don't want to repaint the whole > window. > > ----- Original Message ----- > From: Dan B Moyer <DANMOYER at PRODIGY.NET> > To: <EUPHORIA at LISTSERV.MUOHIO.EDU> > Sent: Monday, September 04, 2000 5:00 AM > Subject: Win32Lib: repaint screen on move 2nd window > > > > How can I make "new" windows not erase the contents of original windows if > > the "new" windows are moved or resized? > > > > In my "examples gateway" app, when an example is selected to run, its > window > > behaves somewhat badly with respect to the original window: if the running > > example is moved, it deletes the contents of the original window (& if > it's > > moved often enough quickly enough, it leaves copies of itself behind, > until > > they get erased about 12 seconds later). > > > > I looked at "repaintWindow(id)", but I can't figure out how/when to *tell* > > it to do so. > > > > Dan Moyer