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

Re: accessing mCarbonPane


  • Subject: Re: accessing mCarbonPane
  • From: Airy André <email@hidden>
  • Date: Sat, 26 Oct 2002 17:21:21 +0200

Maybe you can :
if (mCarbonPane)
DisposeControl(mCarbonPane);
mCarbonPane = 0;
in your destructor before dealing with your controls (or you can just
delete them here).
Your can also add a public GetCarbonPane() method in your view class,
or define a
SetCarbonPane method in your Control class.

BTW, why do your need the mCarbonPane to unregister your control class ?

Airy


Le samedi, 26 oct 2002, ` 16:38 Europe/Paris, Urs Heckmann a icrit :

> Hi,
>
> for my GUI class I would like to access mCarbonPane.
>
> Is there anything speaking against making it public member of
> AUCarbonViewBase?
>
> The reason for this is, I want to unregister my custom controls in my
> class derived from AUCarbonViewBase. But the destructor where this
> should happen gets called before AUCarbonViewBase destroys the
> controls, which in turn leads to a crash. Hence I want to track my
> controls on my own and delete them before I unregister them.
>
> (I think this would also affect the lately sample coded HIView
> approaches)
>
> Cheers,
>
> ;) Urs
> _______________________________________________
> 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.

  • Follow-Ups:
    • Re: accessing mCarbonPane
      • From: Bill Stewart <email@hidden>
    • Re: accessing mCarbonPane
      • From: Urs Heckmann <email@hidden>
References: 
 >accessing mCarbonPane (From: Urs Heckmann <email@hidden>)

  • Prev by Date: getPhysicalSegment got a brain!
  • Next by Date: Re: accessing mCarbonPane
  • Previous by thread: Re: accessing mCarbonPane
  • Next by thread: Re: accessing mCarbonPane
  • Index(es):
    • Date
    • Thread