Way to determine size of a menu?
Way to determine size of a menu?
- Subject: Way to determine size of a menu?
- From: Mitchell Livingston <email@hidden>
- Date: Mon, 1 Jan 2007 20:13:58 -0500
Is there a way to determine the size of an NSMenu. The reason is that
I want to duplicate the ability of Mail.app's action button when
creating a context menu, where the menu will be placed either
directly below or above the button depending on if there's enough
room to fit the menu below the button.
Any ideas on how to determine this value or another method to reach
this desired behavior?
Thanks,
Mitchell Livingston
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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