Re: AUView calling SizeWindow?
Re: AUView calling SizeWindow?
- Subject: Re: AUView calling SizeWindow?
- From: Urs Heckmann <email@hidden>
- Date: Wed, 22 Jan 2003 20:11:25 +0100
I think it depends on the space your controls consume.
Have you tried removing/adding controls outside/from window borders?
Cheers,
;) Urs
Am Mittwoch, 22.01.03, um 18:17 Uhr (Europe/Berlin) schrieb Marc
Poirier:
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.
_______________________________________________
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.