Re: AUCarbonViewBase cleanup
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