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 (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