Contextual menu on NSTabViewItem
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.