On Sep 17, 2009, at 11:03 AM, Georg Seifert wrote:

Hi,

If I show a context menu in my view and then click somewhere in the view, mouseDown for the view is not called. Subsequent mouseDragged are triggered.

The view returns YES in acceptsFirstMouse and acceptsFirstResponder.

What do I miss?

Georg_______________________________________________

Hi Georg,

This is by design. A click that dismisses a menu should not also trigger whatever was clicked, because it would be easy to accidentally close a window or do something else undesirable.

The one (intentional) exception is dragging windows.

-Peter

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to