Uh, if I understand what the op wants to do correctly, overriding - [NSWindow mouseDown:] isn't going to do it.

If the user clicks inside a view that overrides -mouseDown: (and friends -rightMouseDown: and -otherMouseDown:), there's no guarantee that your window's override will get called.

Overriding sendEvent seems like the best plan.

_murat

On Feb 16, 2010, at 1:05 PM, Jerry Krinock wrote:


On 2010 Feb 16, at 10:58, Paul Sanders wrote:

-[NSWindow mouseDown:]? (inherited from NSResponder).

Thanks, Paul.  I hadn't realized that inheritance.

Also, I'd need -rightMouseDown:, -keyDown:, -otherMouseDown:, ???

At least, no notification needed.
_______________________________________________

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

Reply via email to