gay@elde.epfl.ch (David Gay) (02/04/89)
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gay@elde.epfl.ch (David Gay) (02/04/89)
I wrote: > 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 ? No. The REFRESH message was from a menu selection, and the REFRESH message for a disappearing requester comes *before* you get a REQCLEAR (when my code wasn't expecting it ...). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ David Gay Another mad amigan GAY@ELDE.EPFL.CH, or GAY%ELDE.EPFL.CH@CEARN.bitnet ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~