Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!ns-mx!piquet.cipl.uiowa.edu!wolf From: wolf@piquet.cipl.uiowa.edu (Michael J. Wolf) Newsgroups: comp.sys.mac.programmer Subject: UpdateEvt question Message-ID: <6446@ns-mx.uiowa.edu> Date: 12 Jun 91 14:58:02 GMT Article-I.D.: ns-mx.6446 Sender: news@ns-mx.uiowa.edu Organization: Cardiovascular Image Processing Laboratory, U of Iowa Lines: 32 Situation: Several windows opened for my application Using some for copying between on offscreen grafport Problem: When a dialog pops up, then is closed, the obscured portion of the windows are also erased, so I need to update them. I catch the update event, check which window via FindWindow(Where). Then use if structure to see which window to update (as each may be different). Then I do what is need to update the window. Catch: The window only actually gets updated when the mouse passes into the windows content region. And it will keep repeating the update until the mouse is moved out. This occurs even when the window doesn't need updating any longer. I call Begin and End update surrounding thje code that does the update for each window. So why is the update event not being thrown out after I do the update, or likewise, why is it continually getting an update while the mouse is in the window? Should I be finding the window to update differently? Thanks in advance. Michael