• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AUView calling SizeWindow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: AUView calling SizeWindow?
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: MIDIGetNumberOfDestinations()
  • Next by Date: Presets-and-User-Interface Hassle Prevention
  • Previous by thread: Re: AUView calling SizeWindow?
  • Next by thread: Re: AUView calling SizeWindow?
  • Index(es):
    • Date
    • Thread