[comp.sys.mac.hypercard] Repainting "special" controls

dce@smsc.sony.com (David Elliott) (01/05/90)

I'm using Lloyd Maxfield's barbutton xcmd from the Developer Stack.
This is a nice control, but whenever HyperCard repaints (after editing
a script or even holding down command and option to show the button
outlines), the control is not repainted.  I notice similar happenings
with the Color stack.

For now, I added a card idle handler that redraws these controls every
100 ticks.  Is this a reasonable way to go?  I mean, it looks fine, though
you can sometimes see the numbers under the controls flash.

Is there an undocumented system message that is sent to a card when it
is redrawn so that handlers can be set up to redraw things?  Or, is
there an XCMD that implements a slider that gets redrawn properly?
-- 
David Elliott
dce@smsc.sony.com | ...!{uunet,mips}!sonyusa!dce
(408)944-4073
"But Pee Wee... I don't wanna be the baby!"