Re: contextual menus
Re: contextual menus
- Subject: Re: contextual menus
- From: "Nathan V. Roberts" <email@hidden>
- Date: Thu, 12 Jul 2001 22:24:15 -0500
This is only a partial answer and somewhat uncertain as I'm also new
in these waters, but here's my sense:
All subclasses of NSView seem to have a menu outlet, but not all of
them use this as you might expect. So, for example, NSBox will give
you the menu on its border, but not within its contents view (which
could be because that view is earlier in the responder chain, and
swallows the event), and some varieties of NSButton (Push Button)
seem to want to treat any click event as a push, even if that click
is modified with the control key. Others, like the check box, give
you the contextual menu on the whole view.
What interface element are you trying to connect to the menu?
Nathan