I'm no expert here, but I think I had the opposite problem - I have a single custom NSView and it was really hard to get rid of the first mouse down message sometimes :). Maybe try the views.
Vojtech 2011/12/14 Torsten Curdt <tcu...@vafer.org> > I have a custom window that where I receive mouseDown messages. Now > the first mouseDown is always lost because it just activates the > window. > Here is the relevant code: > > https://gist.github.com/0b3b010ad675a349ce72 > > So I was digging through the docs but I don't see a way around this. > > > http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html > > But I've seen this working in other applications so I must be missing > something. > Anyone that could give me some pointers? > > cheers, > Torsten > _______________________________________________ > > 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/meldaproduction%40gmail.com > > This email sent to meldaproduct...@gmail.com > -- _______________________________________________ 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