AUCarbonViewBase without controls?
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.