Re: mouse handling issue in GarageBand/Logic
Re: mouse handling issue in GarageBand/Logic
- Subject: Re: mouse handling issue in GarageBand/Logic
- From: Artemiy Pavlov <email@hidden>
- Date: Thu, 25 Nov 2010 11:49:50 +0200
Thanks for the reply!
Yes, I am doing this directly in my view, guess that's the issue. I am
drawing stuff in it's drawRect method and have the mouse event
handlers directly in the @implementation.
But how do I go about using the NSControl layer on top of my view? I
would appreciate your help.
Artemiy.
On 25 Nov 2010, at 11:27, tahome izwah wrote:
I'm guessing you're probably subclassing NSView and not NSControl for
your view...
HTH
--th
2010/11/25 Artemiy Pavlov <email@hidden>:
Hi all!
I have an AudioUnit with a Cocoa view. It responds to mouse
dragging events
that are then used to draw the user interface.
All works well in hosts like AU Lab, Wave Editor, Sample Manager -
however,
in GarageBand and Logic, the plugin window also moves itself when
the mouse
is being dragged. I tried all the tricks to make my view a "first
responder"
and so forth, but nothing seems to help. I obviously want the
window that
hosts the Cocoa view to remain stationary.
Can someone please give me advise on this?
Thanks a lot and best wishes,
Artemiy.
_______________________________________________
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
_______________________________________________
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