Hi, I have a xib file with a MyButton nested that way MyWindow MyContentView MySplitView MyRightView MyScrollerView MyDocumentView MyButton
I have properly subclassed all of these classes and overrided - (BOOL)acceptsFirstMouse:(NSEvent *)theEvent { return YES; } but I can't get the first click activate the button's action. The first clicks activate justthe window, then I have to click on the button again to call it's action. When MyButton is nested MyWindow MyContentView MyButton it works very well, so I suppose that the problem comes from MyDocumentView's clipView. Right? If so, should I override the acceptsFirstMouse in the MyDocumentView's clipView too? If yes, how to subclass the clipView and replace the one already present within MyScrollerView? Also, I can't select a tableView's row with the firstClick too. Regards -- Leonardo _______________________________________________ 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