SetGadgetShape

Archives Forums/MacOS X Discussion/SetGadgetShape

Brucey(Posted 2005) [#1]
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?


Brucey(Posted 2005) [#2]
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)