Re: Controls question - Thanks Urs!
Re: Controls question - Thanks Urs!
- Subject: Re: Controls question - Thanks Urs!
- From: Andrew Kimpton <email@hidden>
- Date: Wed, 23 Oct 2002 19:33:54 -0700
On Wednesday, October 23, 2002, at 02:21 PM, Howard Moon wrote:
Thanks Urs,
I see you used CreateCustomControl, but under the new OS,
RegisterToolboxObjectClass is used to register the control handler.
At least that avoids the CDEF crud, and it looks simple enough to
implement. I'll give it a shot. Thanks again...
Whilst this approach should work and its the one that strikes me as the
most sensible so it's the route I'm taking too there are some things to
be aware of :
Urs & I both found (seperately but within hours of each other) that
Logic has some deficiencies when it comes to passing mouse down events
through to the carbon event handler that is registered as your custom
control. I could not manage to get MouseDown or ControlClick events to
'show up' in my carbon event handler. Whilst it's possible to 'abuse'
tracking events to get the same end results that's not a very
satisfying approach.
So if you experience 'odd' behaviour in this area I'd suggest looking
at AudioUnitHosting in the SDK samples as a test app at least until
issues are resolved in Logic.
Both Emagic and Apple are aware of the issues (indeed there's been some
other email on this subject on the list in the last 10 days or so)
-Howard
Andrew 8-)
_______________________________________________
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.