Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!elde.epfl.ch!gay From: gay@elde.epfl.ch (David Gay) Newsgroups: comp.sys.amiga.tech Subject: Simple refresh windows and requesters Message-ID: <890203223602.21000eb7@elcc.epfl.ch> Date: 3 Feb 89 21:36:02 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 24 It would appear that when you display a Requester on a SIMPLE_REFRESH window, you get a REFRESH message *before* the requester appears, and a blank hole after it has left. Is this a bug ? Currently, I've added the following code after a requester disappears: /* After requester clears, we don't receive a REFRESH message, so: */ if (win->WLayer->Flags & LAYERREFRESH) { BeginUpdate(win->WLayer); /* Refresh window */ EndUpdate(win->WLayer, TRUE); } Is this ok ? Finally, is there any official way to add a clipping region to a window ? I'm currently using a horrible hack (the more I look at it, the less I like it). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ David Gay Another mad amigan GAY@ELDE.EPFL.CH, or GAY%ELDE.EPFL.CH@CEARN.bitnet ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~