• 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
AUCarbonViewBase without controls?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUCarbonViewBase without controls?


  • Subject: AUCarbonViewBase without controls?
  • From: Jeremy Todd <email@hidden>
  • Date: Thu, 1 Jul 2004 16:06:24 -0400

Hi,

I'm developing an AudioUnit in Xcode 1.2 and I'm having trouble receiving mouse down messages. Basically I was hoping to inherit AUCarbonViewBase but do away with the control which is embedded in the window. I want to install an event handler on the carbon window itself, but my handler isn't receiving events of kind kEventMouseDown.

I am seeing all sorts of events in AUCarbonViewBase::HandleEvent and I see how to register for them with WantEventTypes. I tried converting control click into mouse down and sending it to the window directly, but when debugging with Rax I see:
2004-07-01 16:05:07.030 Rax[17459] GetEventParameter() returned -9870.
Note that if I break just before sending the event then continue again, the event is relayed to the window without a problem! So I can only conclude that I'm doing something terribly wrong here.

Any advice on creating an AudioUnit with a simple carbon window which can receive mouse events would be most appreciated!

Thanks,
Jeremy
_______________________________________________
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: AUCarbonViewBase without controls?
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Two AUHALs, one ring buffer, and one AU filter. But no sound.
  • Next by Date: Re: AUCarbonViewBase without controls?
  • Previous by thread: Re: Two AUHALs, one ring buffer, and one AU filter. But no sound.
  • Next by thread: Re: AUCarbonViewBase without controls?
  • Index(es):
    • Date
    • Thread