• 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: should I use Control Manager for AUCarbonView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: should I use Control Manager for AUCarbonView?


  • Subject: Re: should I use Control Manager for AUCarbonView?
  • From: Marc Poirier <email@hidden>
  • Date: Wed, 4 Jun 2003 17:53:08 -0500 (CDT)

On Thu, 22 May 2003, Bill Stewart wrote:

> >> But to answer your question: yeah, I think installing handlers on the
> >> window target is a bad idea. The host owns the window, so you really
> >> should not touch it at all, imho. There's no telling what the host
> >> uses the window for in addition to your editor.
> >
> > Thanks. I am kind of thinking the same thing, but a definitive answer
> > from someone in the CoreAudio team would be useful, also especially
> > regarding keyboard events. I'm working on implementing a lot of
> > keyboard control for our plugins, but I'm not sure what the protocol
> > is for this stuff.
>
> I'm not sure that I can give you a clear answer on this... The window
> is owned by the host and its not safe to make any assumptions about
> what else is going on in the window - but except for edit text boxes
> where the focus issue is clear - this is a knarly kind of problem... If
> you have more than one AU's view in display at a given time - who gets
> the key event?

Oh yeah, good question, I hadn't even thought of that... Well, what if I
took this idea of text edit focus and ran with it? :) If I set the
control features kControlSupportsFocus and kControlGetsFocusOnClick for
*all* controls, perhaps I can then safely and righteously take any key
events whenever one of my plugin's controls (including the base embedding
pane) has obtained focus from tabbing or clicking?

> I'm not sure that I have any answers to this - maybe this is something
> we have to figure out together with some of the host apps...

Yes, it would be much appreciated to have some clear, definitive protocol
for this. I think it's very important for plugins to be able to get key
events reliably, as plugins become more and more complex, and important
in music production...

Thanks,
Marc
_______________________________________________
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.

  • Prev by Date: Re: real time voice capture
  • Next by Date: virtual midi source and Audio MIDI Setup.app
  • Previous by thread: OT: Looking for some beta testers
  • Next by thread: virtual midi source and Audio MIDI Setup.app
  • Index(es):
    • Date
    • Thread