Re: Win32Lib: repaint screen on move 2nd window
- Posted by =?iso-8859-1?B?U2tvZGE=?= <tone.skoda at SIOL.NET> Sep 04, 2000
- 478 views
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