• 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
Selecting item in NSTableView when right-clicked on...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selecting item in NSTableView when right-clicked on...


  • Subject: Selecting item in NSTableView when right-clicked on...
  • From: Nils Hjelte <email@hidden>
  • Date: Mon, 25 Aug 2003 17:41:42 +0200

I have an NSTableView with an contextmenu attached to it. When the user right-clicks on an item in the NSTableView the contextmenu is brought up correctly, but I also want the clicked cell to be selected. Is there some cleaner/better way of doing this than to subclass NSTableView and tracking mouse events?

// Nils Hjelte
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re:(new problem) Selecting item in NSTableView when right-clicked on...
      • From: Nils Hjelte <email@hidden>
  • Prev by Date: Apple Help Interface Guidelines
  • Next by Date: Adding accessory view to print panel
  • Previous by thread: Re: Apple Help Interface Guidelines
  • Next by thread: Re:(new problem) Selecting item in NSTableView when right-clicked on...
  • Index(es):
    • Date
    • Thread