Re: How to build a popup menu and show this menu?
Re: How to build a popup menu and show this menu?
- Subject: Re: How to build a popup menu and show this menu?
- From: j o a r <email@hidden>
- Date: Thu, 23 Feb 2006 08:14:00 +0100
On 23 feb 2006, at 08.10, Scott Anguish wrote:
But.. if you do this with a contextual menu (which is what most
apps do it with) you'd want to create a menu in IB as joar
suggested, and then set it as a context sensitive menu by
overriding the NSView methods -menuForEvent: or +defaultmenu.
Is it not enough to just assign the menu using "-setMenu:" (or do it
in IB), as that menu is documented to be the default menu if you
don't override "-menuForEvent:" (or "+defaultMenu")?
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden