• 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: AUCarbonViewBase cleanup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUCarbonViewBase cleanup


  • Subject: Re: AUCarbonViewBase cleanup
  • From: Marc Poirier <email@hidden>
  • Date: Thu, 18 Nov 2004 13:43:46 -0500 (EST)

You do your clean-up in MyCustomEditView desctructor. Realize, though, that it's possible for the AUCarbonView to be created (and therefore MyCustomEditView constructor called) and then deleted without CreateUI ever happening, so you just want to make sure in your clean-up code that you not assume that any of the stuff in CreateUI actually was created.

Marc



On Thu, 18 Nov 2004, Mark's Studio wrote:

In MyCustomEditView::CreateUI(Float32 xoffset, Float32 yoffset)
i create some Cocoa stuff, and that's all fine.
but i need to release the Cocoa stuff when the Carbon view is not needed anymore.


What function is called when the AUCarbonView is to cleanup ?



Peter Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: AUCarbonViewBase cleanup
      • From: "Mark's Studio" <email@hidden>
References: 
 >AUCarbonViewBase cleanup (From: "Mark's Studio" <email@hidden>)

  • Prev by Date: AUCarbonViewBase cleanup
  • Next by Date: Re: AUCarbonViewBase cleanup
  • Previous by thread: AUCarbonViewBase cleanup
  • Next by thread: Re: AUCarbonViewBase cleanup
  • Index(es):
    • Date
    • Thread