Re: click on sub-menu's super-item dismisses menu?
Re: click on sub-menu's super-item dismisses menu?
- Subject: Re: click on sub-menu's super-item dismisses menu?
- From: Peter Ammon <email@hidden>
- Date: Thu, 17 Sep 2009 15:26:59 -0700
On Sep 17, 2009, at 3:09 PM, David M. Cotter wrote:
say the user say clicks the file menu, the file menu opens
then say they hover over "recent items" and then clicks it (i don't
know, out of habit or something)
in carbon, this click is ignored, rightfully it seems
in cocoa, it dismisses the menu. is there a way i can tell the menu
or menu item to NOT dismiss the menu?
Hi David,
I can't reproduce this behavior in SnowLeopard - the Open Recents menu
item does not dismiss the menu when clicked.
To answer your question: a menu item with a submenu will ignore clicks
if its action is @selector(submenuAction:) or NULL. If the action is
something else, then the menu item can be selected.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden