SetGadgetShape

Miscellaneous Forums/MacOS X Discussion/SetGadgetShape

I'm calling SetGadgetShape to move a panel programmatically, but it leaves an image of itself behind on the window.
If I subsequently resize the window the ghost disappears.

Any idea how to make the parent realise that its contents have changed so that it redraws itself?

I see... I just need to call :

RedrawGadget(parentGadget)


...which doesn't work if the parent is a window :-)
(but does if it's say, a panel)