Fixed by adding this to @implementation:
- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent
{
return YES;
}
:-)
On 28 Nov 2010, at 18:51, Artemiy Pavlov wrote:
Hi all!
I have an AudioUnit plugin with a Cocoa View. The view itself is a
subclass of NSControl. It works well, however, it doesn't respond to
the very first mouse down or mouse dragged event. This very first
click or drag only makes the view active, only starting from the
second click or drag that it starts to respond to these events.
How can I fix this? Would really appreciate any advise.
Thanks and best wishes,
Artemiy.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/artemiy.pavlov%40ukrpost.ua
This email sent to artemiy.pav...@ukrpost.ua
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com