Re: AUView calling SizeWindow?
Re: AUView calling SizeWindow?
- Subject: Re: AUView calling SizeWindow?
- From: Bill Stewart <email@hidden>
- Date: Wed, 22 Jan 2003 18:27:29 -0800
Yes indeed
The AUView should resize the "control" that it has made to embed its UI
in, but not its host window. It is entirely likely that a host may have
several views of Audio Units in a single window - so this kind of
behaviour would not be good
Bill
On Wednesday, January 22, 2003, at 11:46 AM, Alberto Ricci wrote:
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.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.