brian@uunet.uu.net (Brian) (03/09/89)
Hello,
I am trying to draw into a panel, and am having some difficulties. If
anyone can help, please e-mail me.
The problem is with redrawing. Since a panel is not retained, I have to
redraw the graphics myself--which is fine. I set up an event procedure,
and created my panel. But, the panel package sucks up the WIN_REPAINT
event before I can get to it... So, it never gets to my event procedure
with a WIN_REPAINT event.
Any ideas on what I can do?
Thanks,
Brian Hoogerbrugge
email : brian@oberon.UUCP
bhoogerb@BONNIE.ICS.UCI.EDUchuck@trantor.harris-atd.com (Chuck Musciano) (03/14/89)
> the panel package sucks up the WIN_REPAINT event before I can get to it...
Interpose your event proc in front of the panel using the
notify_interpose_event_func() routine. You will see the redraw event, can
act upon it, and then (if desired) pass it through to the panel. This is
the standard way to intercept events destined for a particular window.
Chuck Musciano
Advanced Technology Department
Harris Corporation
(407) 727-6131
ARPA: chuck@trantor.harris-atd.com