• 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
Contextual menu on NSTabViewItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Contextual menu on NSTabViewItem


  • Subject: Contextual menu on NSTabViewItem
  • From: Manuel Darveau <email@hidden>
  • Date: Wed, 13 Mar 2002 23:09:52 -0500

Hi!

Is there a way to make a contextual menu that will close an NSTabViewItem?

I am able to see the contextual menu (but all items are disabled...) but I'm
not sure how to know on witch tab the user pressed.

I could handle the mouse down event on the NSTabView and try to find witch
tab was pressed with tabViewItemAtPoint: and then placing this data in a
buffer that will be read by the menu function but it seem like a bad
design...

Also, how do I handle event for the NSTabView since I don9t subclass it?


Thanks a lot!


Manuel Darveau
- MacKeeper
_______________________________________________
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.

  • Prev by Date: Serious class cluster/toll free bridging question (was: Newbie (to Cocoa) questions)
  • Next by Date: Re: NSComboBox initialFirstResponder and nextKeyView Outlets
  • Previous by thread: [SOLUTION] Option-Key "alternative" application behavior == mnemonics?
  • Next by thread: Help with CFXML?
  • Index(es):
    • Date
    • Thread