Context menu on NSOutlineView, which row is active/selected?
Context menu on NSOutlineView, which row is active/selected?
- Subject: Context menu on NSOutlineView, which row is active/selected?
- From: David Melgar <email@hidden>
- Date: Wed, 27 Jan 2010 00:09:34 -0500
I have a menu set as the Menu outlet of an NSOutlineView to use as a context menu (right click) on a row.
When the menu is chosen on a row, the chosen action on my target (my OutlineView controller) is invoked as expected.
In my view controller, I had been assuming that the row the right click occurred would show up as a selected row. But it does not always. It appears to be a separate state.
How should I determine the row that the right click occurred on?
This is 10.6.2 BTW.
Thanks_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden