Re: AU embedded control never receives kEventControlDraw
Re: AU embedded control never receives kEventControlDraw
- Subject: Re: AU embedded control never receives kEventControlDraw
- From: tahome izwah <email@hidden>
- Date: Sun, 3 Jan 2010 19:45:12 +0100
As I understand it, you should not use the Carbon API at all if you
don't have to and switch to Cocoa as soon as possible.
--th
2009/12/30 Vojtěch Meluzín <email@hidden>:
> Hi Folks,
>
> I have an interesting problem - I'm implementing an AU port for our VST
> plugins. Seems finally working, but only if the host uses "compositing". If
> the host uses "embedding", then my control never receives kEventControlDraw
> and stays just white.
>
> The control is created using HIObjectRegisterSubclass, HIObjectCreate and
> InstallEventHandler.
> When compositing, HIViewAddSubview is used to add it to the subview, which
> works.
> When embedding, EmbedControl is used and as a result the control does not
> draw itself. The control receives mouse messages though, but this is
> probably caused by using InstallEventHandler on the parent window as well.
>
> Does anyone know what would cause this?
> Thanks in advance.
> Vojtech
_______________________________________________
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