Re: view doesn't respond to very first mouse event

2010-11-28 Thread Artemiy Pavlov
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 do

view doesn't respond to very first mouse event

2010-11-28 Thread Artemiy Pavlov
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 o