Re: How to tell if my AU's UI is in front?
Re: How to tell if my AU's UI is in front?
- Subject: Re: How to tell if my AU's UI is in front?
- From: "B.J. Buchalter" <email@hidden>
- Date: Thu, 10 May 2007 10:59:51 -0400
- Thread-topic: How to tell if my AU's UI is in front?
Thanks Stefan.
I assume that based upon your advice, this will work in Logic. The reason I
didn't go down this route is that some hosts seem to use windows that don't
activate. For example, if you open the AUGraphicEQ (the Apple supplied one)
in AULab, the sliders are never disabled. I would think that this is because
the owning window is never being activated and deactivated.
I will try this though and report back if it is reliable in a variety of
hosts.
Thanks for the info!!
Best regards,
B.J. Buchalter
On 5/10/07 4:21 AM, "Stefan Gretscher" <email@hidden> wrote:
> Hi B.J.
>
> I think the Carbon event kEventClassWindow/ kEventWindowActivated
> is what you want to listen for.
>
> Best,
> Stefan
>
> Am 10.05.2007 um 03:24 schrieb B.J. Buchalter:
>
>> Hi Folks,
>>
>> Does anyone know if there is a reliable way to determine if my UI
>> has been
>> "activated". For example, if I test in AULab, if the plugin UI is
>> open but
>> other windows are in front of it, and I click on the insert tile
>> for my
>> plugin, the UI window is brought to the front. I would like to find a
>> reliable way to get notified that this has just happened (reliable
>> in the
>> sense that it is likely to work in all hosts).
>>
>> Obviously I can tell when the UI component is opened, but it I am
>> unsure of
>> how to capture this "user focus" event (or if it is even possible).
>> Any
>> suggestions greatly appreciated!!
>>
>> Best regards,
>>
>> B.J. Buchalter
>
>
>
> ------------------------------------
> Stefan Gretscher
> plug-in development & 3rd party developer support
>
> phone: (+49)-4101-495-586 (Central European Time)
> AU developer support: email@hidden
> TDM developer support: email@hidden
>
> Apple GmbH
> Geschäftsführung: Freddie Geier, Georges Guyon de Chemilly
> Sitz der Gesellschaft: München
> Amtsgericht München, HRB 66158
>
>
>
B.J. Buchalter
Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451
_______________________________________________
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