But it's not generally correct to assume that setFrame is the only way
the frame can get changed, or that setBounds is the only way the
bounds can get changed (although it may be safe enough for the bounds
if you've set your button not to autoresize). The safe way to monitor
bounds (or frame) changes is to turn on bounds (or frame)
notifications for the view, register to receive bounds (or frame)
change notifications, and do whatever you need to do in the
notification method.
One more thing. Be careful about what 'assumeInside' means. The
behavior of the option was "fixed" in Leopard, which implies there was
something wrong with it in 10.4, though I don't know what the problem
was.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com