Article View: comp.sys.amiga.tech
Article #11329Simple refresh windows and requesters
From: David Gay
Date: Fri, 03 Feb 1989 21:36
Date: Fri, 03 Feb 1989 21:36
24 lines
1267 bytes
1267 bytes
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID:
<890203223602.21000eb7@elcc.epfl.ch>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!elde.epfl.ch!gayShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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