• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Please point me in the right direction for contextual menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please point me in the right direction for contextual menus


  • Subject: Please point me in the right direction for contextual menus
  • From: email@hidden
  • Date: Thu, 30 Aug 2001 22:38:47 -0400

Hi, all,

I'd like to implement contextual menus on the contents of an NSOutlineView; the contents of the menu (or at least the highlighted state of the items in it) need to vary depending on which cell (i.e., item/column) is underneath the cursor when the menu is brought up.

I've looked at adding a menu to my NSOutlineView, but it's not clear how to tell where the cursor is when the menu is brought up; will event notifications for the view tell me what I need to know?

The other possibility I've considered is attaching a menu to the NSCell's used to display the outline view contents. Near as I can figure, NSOutlineView only uses one cell per column, so I would still need to determine which item/row of the outline view is under the cursor when the menu is invoked.

Thanks in advance for any pointers.

Doug K;


  • Follow-Ups:
    • Re: Please point me in the right direction for contextual menus
      • From: Ondra Cada <email@hidden>
    • Re: Please point me in the right direction for contextual menus
      • From: Eric Peyton <email@hidden>
  • Prev by Date: Re: [NSScreen resetScreens];
  • Next by Date: Getting the name of the current user
  • Previous by thread: Re: HTML format Text Fields?
  • Next by thread: Re: Please point me in the right direction for contextual menus
  • Index(es):
    • Date
    • Thread