Re: AUView calling SizeWindow?
Re: AUView calling SizeWindow?
- Subject: Re: AUView calling SizeWindow?
- From: Alberto Ricci <email@hidden>
- Date: Wed, 22 Jan 2003 20:46:43 +0100
In Emagic's Pan AU example, at the end of CreateUI (right after calling
SizeControl), a call is made to SizeWindow(mCarbonWindow, etc.). So far
as I can figure, this seems to me like a bad idea. I mean, the AU is not
Seems to me like a bad idea too. The AU view might be embedded inside
a complex control hierarchy, so it can't have any idea how to resize
the owning window...
At most, it should resize the superview, not the window, but then
again there's no carbon event being sent to superviews informing them
of the change (messages travel the other way around), so it makes so
sense...
I think it's the AU host's job to resize the window as necessary to
accomodate the AU view.
Alberto.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.