AUView calling SizeWindow?
AUView calling SizeWindow?
- Subject: AUView calling SizeWindow?
- From: Marc Poirier <email@hidden>
- Date: Wed, 22 Jan 2003 18:17:20 +0100 (CET)
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
supposed to handle the size of the host's window, right? That's for the
host to do, isn't it? And anyway, when I added this to my AU and started
messing with the dimensions in the SizeWindow call, the host would always
just immediately resized the window back to what it wanted the size to be
(in Logic and AUHosting), so it's not like calling SizeWindow myself even
got me very far...
But I'm still learning this AUView stuff, so I am wondering what the
official word is, whether or not the AUView really is supposed to size the
window (but I'm guessing that the answer is "no" and that this is just an
error in the Emagic Pan example).
Thanks,
Marc
_______________________________________________
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.